Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Cent | |
Dinar | |
Dirham | |
Dollar | |
Pound | |
Rial | |
Riyal | |
Unnamed | |
AED | |
AUD | |
BGN | |
BRL | |
BYN | |
CAD | |
CHF | |
CNY | |
CZK | |
DKK | |
EGP | |
EUR | |
GBP | |
HKD | |
HRK | |
IDR | |
ILS | |
INR | |
IQD | |
JMD | |
JOD | |
JPY | |
GEL | |
KRW | |
KWD | |
LBP | |
MAD | |
MNT | |
MYR | |
NOK | |
NZD | |
PKR | |
PLN | |
PTS | |
QAR | |
RON | |
RUB | |
SAR | |
SEK | |
SGD | |
THB | |
TTD | |
USD | |
VND | |
ZAR | |
UAH | |
TRY |
Instances
data AmountOfMoneyData Source #
Instances
data IntervalDirection Source #
Instances
data SingleValue Source #
Instances
Eq SingleValue Source # | |
Defined in Duckling.AmountOfMoney.Types (==) :: SingleValue -> SingleValue -> Bool # (/=) :: SingleValue -> SingleValue -> Bool # | |
Show SingleValue Source # | |
Defined in Duckling.AmountOfMoney.Types showsPrec :: Int -> SingleValue -> ShowS # show :: SingleValue -> String # showList :: [SingleValue] -> ShowS # | |
ToJSON SingleValue Source # | |
Defined in Duckling.AmountOfMoney.Types toJSON :: SingleValue -> Value # toEncoding :: SingleValue -> Encoding # toJSONList :: [SingleValue] -> Value # toEncodingList :: [SingleValue] -> Encoding # |
data AmountOfMoneyValue Source #
SimpleValue SingleValue | |
IntervalValue (SingleValue, SingleValue) | |
OpenIntervalValue (SingleValue, IntervalDirection) |
Instances
Eq AmountOfMoneyValue Source # | |
Defined in Duckling.AmountOfMoney.Types (==) :: AmountOfMoneyValue -> AmountOfMoneyValue -> Bool # (/=) :: AmountOfMoneyValue -> AmountOfMoneyValue -> Bool # | |
Show AmountOfMoneyValue Source # | |
Defined in Duckling.AmountOfMoney.Types showsPrec :: Int -> AmountOfMoneyValue -> ShowS # show :: AmountOfMoneyValue -> String # showList :: [AmountOfMoneyValue] -> ShowS # | |
ToJSON AmountOfMoneyValue Source # | |
Defined in Duckling.AmountOfMoney.Types toJSON :: AmountOfMoneyValue -> Value # toEncoding :: AmountOfMoneyValue -> Encoding # toJSONList :: [AmountOfMoneyValue] -> Value # toEncodingList :: [AmountOfMoneyValue] -> Encoding # |
openInterval :: IntervalDirection -> Currency -> Double -> AmountOfMoneyValue Source #