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

Safe HaskellNone
LanguageHaskell2010

Duckling.Dimensions.Types

Synopsis

Documentation

data Some k tag :: forall k. (k -> *) -> * where #

Constructors

This :: Some k tag 

Instances

GEq k tag => Eq (Some k tag) 

Methods

(==) :: Some k tag -> Some k tag -> Bool #

(/=) :: Some k tag -> Some k tag -> Bool #

GCompare k tag => Ord (Some k tag) 

Methods

compare :: Some k tag -> Some k tag -> Ordering #

(<) :: Some k tag -> Some k tag -> Bool #

(<=) :: Some k tag -> Some k tag -> Bool #

(>) :: Some k tag -> Some k tag -> Bool #

(>=) :: Some k tag -> Some k tag -> Bool #

max :: Some k tag -> Some k tag -> Some k tag #

min :: Some k tag -> Some k tag -> Some k tag #

GRead k f => Read (Some k f) 

Methods

readsPrec :: Int -> ReadS (Some k f) #

readList :: ReadS [Some k f] #

readPrec :: ReadPrec (Some k f) #

readListPrec :: ReadPrec [Some k f] #

GShow k tag => Show (Some k tag) 

Methods

showsPrec :: Int -> Some k tag -> ShowS #

show :: Some k tag -> String #

showList :: [Some k tag] -> ShowS #

Hashable (Some * Dimension) # 
TextShow (Some * Dimension) # 

data Dimension a where Source #

GADT for differentiating between dimensions Each dimension should have its own constructor and provide the data structure for its parsed data