duckling-0.1.5.0: A Haskell library for parsing text into structured data.

Safe HaskellNone
LanguageHaskell2010

Duckling.Ordinal.Types

Documentation

newtype OrdinalData Source #

Constructors

OrdinalData 

Fields

Instances

Eq OrdinalData Source # 
Ord OrdinalData Source # 
Show OrdinalData Source # 
Generic OrdinalData Source # 

Associated Types

type Rep OrdinalData :: * -> * #

ToJSON OrdinalData Source # 
NFData OrdinalData Source # 

Methods

rnf :: OrdinalData -> () #

Hashable OrdinalData Source # 
Resolve OrdinalData Source # 
type Rep OrdinalData Source # 
type Rep OrdinalData = D1 * (MetaData "OrdinalData" "Duckling.Ordinal.Types" "duckling-0.1.5.0-Gv0cL4nVr7C13ZzNyroFYP" True) (C1 * (MetaCons "OrdinalData" PrefixI True) (S1 * (MetaSel (Just Symbol "value") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))
type ResolvedValue OrdinalData Source # 

isBetween :: Ord a => a -> a -> a -> Bool Source #