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