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

Safe HaskellNone
LanguageHaskell2010

Duckling.Duration.Types

Documentation

data DurationData Source #

Constructors

DurationData 

Fields

Instances

Eq DurationData Source # 
Ord DurationData Source # 
Show DurationData Source # 
Generic DurationData Source # 

Associated Types

type Rep DurationData :: * -> * #

Hashable DurationData Source # 
ToJSON DurationData Source # 
NFData DurationData Source # 

Methods

rnf :: DurationData -> () #

Resolve DurationData Source # 
type Rep DurationData Source # 
type Rep DurationData = D1 (MetaData "DurationData" "Duckling.Duration.Types" "duckling-0.1.0.0-BatkR4NBWIJH5VaUlTaDP" False) (C1 (MetaCons "DurationData" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "value") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)) (S1 (MetaSel (Just Symbol "grain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Grain))))
type ResolvedValue DurationData Source #