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