duckling-0.1.3.0: A Haskell library for parsing text into structured data.
Duckling.Temperature.Types
data TemperatureUnit Source #
Constructors
Instances
Methods
(==) :: TemperatureUnit -> TemperatureUnit -> Bool #
(/=) :: TemperatureUnit -> TemperatureUnit -> Bool #
compare :: TemperatureUnit -> TemperatureUnit -> Ordering #
(<) :: TemperatureUnit -> TemperatureUnit -> Bool #
(<=) :: TemperatureUnit -> TemperatureUnit -> Bool #
(>) :: TemperatureUnit -> TemperatureUnit -> Bool #
(>=) :: TemperatureUnit -> TemperatureUnit -> Bool #
max :: TemperatureUnit -> TemperatureUnit -> TemperatureUnit #
min :: TemperatureUnit -> TemperatureUnit -> TemperatureUnit #
showsPrec :: Int -> TemperatureUnit -> ShowS #
show :: TemperatureUnit -> String #
showList :: [TemperatureUnit] -> ShowS #
Associated Types
type Rep TemperatureUnit :: * -> * #
from :: TemperatureUnit -> Rep TemperatureUnit x #
to :: Rep TemperatureUnit x -> TemperatureUnit #
hashWithSalt :: Int -> TemperatureUnit -> Int #
hash :: TemperatureUnit -> Int #
toJSON :: TemperatureUnit -> Value #
toEncoding :: TemperatureUnit -> Encoding #
toJSONList :: [TemperatureUnit] -> Value #
toEncodingList :: [TemperatureUnit] -> Encoding #
rnf :: TemperatureUnit -> () #
data TemperatureData Source #
Fields
(==) :: TemperatureData -> TemperatureData -> Bool #
(/=) :: TemperatureData -> TemperatureData -> Bool #
compare :: TemperatureData -> TemperatureData -> Ordering #
(<) :: TemperatureData -> TemperatureData -> Bool #
(<=) :: TemperatureData -> TemperatureData -> Bool #
(>) :: TemperatureData -> TemperatureData -> Bool #
(>=) :: TemperatureData -> TemperatureData -> Bool #
max :: TemperatureData -> TemperatureData -> TemperatureData #
min :: TemperatureData -> TemperatureData -> TemperatureData #
showsPrec :: Int -> TemperatureData -> ShowS #
show :: TemperatureData -> String #
showList :: [TemperatureData] -> ShowS #
type Rep TemperatureData :: * -> * #
from :: TemperatureData -> Rep TemperatureData x #
to :: Rep TemperatureData x -> TemperatureData #
hashWithSalt :: Int -> TemperatureData -> Int #
hash :: TemperatureData -> Int #
rnf :: TemperatureData -> () #
type ResolvedValue TemperatureData :: * Source #
resolve :: Context -> TemperatureData -> Maybe (ResolvedValue TemperatureData) Source #
data TemperatureValue Source #
(==) :: TemperatureValue -> TemperatureValue -> Bool #
(/=) :: TemperatureValue -> TemperatureValue -> Bool #
showsPrec :: Int -> TemperatureValue -> ShowS #
show :: TemperatureValue -> String #
showList :: [TemperatureValue] -> ShowS #
toJSON :: TemperatureValue -> Value #
toEncoding :: TemperatureValue -> Encoding #
toJSONList :: [TemperatureValue] -> Value #
toEncodingList :: [TemperatureValue] -> Encoding #