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