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