duckling-0.1.0.0: A Haskell library for parsing text into structured data.
Duckling.AmountOfMoney.Types
data Currency Source #
Constructors
Instances
Methods
(==) :: Currency -> Currency -> Bool #
(/=) :: Currency -> Currency -> Bool #
compare :: Currency -> Currency -> Ordering #
(<) :: Currency -> Currency -> Bool #
(<=) :: Currency -> Currency -> Bool #
(>) :: Currency -> Currency -> Bool #
(>=) :: Currency -> Currency -> Bool #
max :: Currency -> Currency -> Currency #
min :: Currency -> Currency -> Currency #
showsPrec :: Int -> Currency -> ShowS #
show :: Currency -> String #
showList :: [Currency] -> ShowS #
Associated Types
type Rep Currency :: * -> * #
from :: Currency -> Rep Currency x #
to :: Rep Currency x -> Currency #
hashWithSalt :: Int -> Currency -> Int #
hash :: Currency -> Int #
toJSON :: Currency -> Value #
toEncoding :: Currency -> Encoding #
toJSONList :: [Currency] -> Value #
toEncodingList :: [Currency] -> Encoding #
rnf :: Currency -> () #
data AmountOfMoneyData Source #
Fields
(==) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
(/=) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
compare :: AmountOfMoneyData -> AmountOfMoneyData -> Ordering #
(<) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
(<=) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
(>) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
(>=) :: AmountOfMoneyData -> AmountOfMoneyData -> Bool #
max :: AmountOfMoneyData -> AmountOfMoneyData -> AmountOfMoneyData #
min :: AmountOfMoneyData -> AmountOfMoneyData -> AmountOfMoneyData #
showsPrec :: Int -> AmountOfMoneyData -> ShowS #
show :: AmountOfMoneyData -> String #
showList :: [AmountOfMoneyData] -> ShowS #
type Rep AmountOfMoneyData :: * -> * #
from :: AmountOfMoneyData -> Rep AmountOfMoneyData x #
to :: Rep AmountOfMoneyData x -> AmountOfMoneyData #
hashWithSalt :: Int -> AmountOfMoneyData -> Int #
hash :: AmountOfMoneyData -> Int #
rnf :: AmountOfMoneyData -> () #
type ResolvedValue AmountOfMoneyData :: * Source #
resolve :: Context -> AmountOfMoneyData -> Maybe (ResolvedValue AmountOfMoneyData) Source #
data AmountOfMoneyValue Source #
(==) :: AmountOfMoneyValue -> AmountOfMoneyValue -> Bool #
(/=) :: AmountOfMoneyValue -> AmountOfMoneyValue -> Bool #
showsPrec :: Int -> AmountOfMoneyValue -> ShowS #
show :: AmountOfMoneyValue -> String #
showList :: [AmountOfMoneyValue] -> ShowS #
toJSON :: AmountOfMoneyValue -> Value #
toEncoding :: AmountOfMoneyValue -> Encoding #
toJSONList :: [AmountOfMoneyValue] -> Value #
toEncodingList :: [AmountOfMoneyValue] -> Encoding #