duckling-0.2.0.0: A Haskell library for parsing text into structured data.
Safe HaskellNone
LanguageHaskell2010

Duckling.Ordinal.Types

Documentation

newtype OrdinalData Source #

Constructors

OrdinalData 

Fields

Instances

Instances details
Eq OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Ord OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Show OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Generic OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Associated Types

type Rep OrdinalData :: Type -> Type #

Hashable OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

ToJSON OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

NFData OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Methods

rnf :: OrdinalData -> () #

Resolve OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

Associated Types

type ResolvedValue OrdinalData Source #

type Rep OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

type Rep OrdinalData = D1 ('MetaData "OrdinalData" "Duckling.Ordinal.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'True) (C1 ('MetaCons "OrdinalData" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))
type ResolvedValue OrdinalData Source # 
Instance details

Defined in Duckling.Ordinal.Types

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