duckling-0.1.2.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 :: * -> * #

Hashable OrdinalData Source # 
ToJSON OrdinalData Source # 
NFData OrdinalData Source # 

Methods

rnf :: OrdinalData -> () #

Resolve OrdinalData Source # 
type Rep OrdinalData Source # 
type Rep OrdinalData = D1 (MetaData "OrdinalData" "Duckling.Ordinal.Types" "duckling-0.1.2.0-4kNLeMarmI05ZcZPmDT5Pl" 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 #