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

Duckling.Temperature.Types

Documentation

data TemperatureUnit Source #

Constructors

Degree 
Celsius 
Fahrenheit 

Instances

Instances details
Eq TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

Ord TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

Show TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

Generic TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

Associated Types

type Rep TemperatureUnit :: Type -> Type #

Hashable TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

ToJSON TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

NFData TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

Methods

rnf :: TemperatureUnit -> () #

type Rep TemperatureUnit Source # 
Instance details

Defined in Duckling.Temperature.Types

type Rep TemperatureUnit = D1 ('MetaData "TemperatureUnit" "Duckling.Temperature.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'False) (C1 ('MetaCons "Degree" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Celsius" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fahrenheit" 'PrefixI 'False) (U1 :: Type -> Type)))

data TemperatureData Source #

Instances

Instances details
Eq TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Ord TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Show TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Generic TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Associated Types

type Rep TemperatureData :: Type -> Type #

Hashable TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

NFData TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Methods

rnf :: TemperatureData -> () #

Resolve TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

Associated Types

type ResolvedValue TemperatureData Source #

type Rep TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

type Rep TemperatureData = D1 ('MetaData "TemperatureData" "Duckling.Temperature.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'False) (C1 ('MetaCons "TemperatureData" 'PrefixI 'True) ((S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe TemperatureUnit)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "minValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "maxValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)))))
type ResolvedValue TemperatureData Source # 
Instance details

Defined in Duckling.Temperature.Types

data IntervalDirection Source #

Constructors

Above 
Under 

Instances

Instances details
Eq IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

Ord IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

Show IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

Generic IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

Associated Types

type Rep IntervalDirection :: Type -> Type #

Hashable IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

NFData IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

Methods

rnf :: IntervalDirection -> () #

type Rep IntervalDirection Source # 
Instance details

Defined in Duckling.Temperature.Types

type Rep IntervalDirection = D1 ('MetaData "IntervalDirection" "Duckling.Temperature.Types" "duckling-0.2.0.0-4AU1pRwMU7E8YjNdB7ILfy" 'False) (C1 ('MetaCons "Above" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Under" 'PrefixI 'False) (U1 :: Type -> Type))