Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data AnyValue = AnyValue (Value t)
- reifyAnyValues :: Value t -> [AnyValue] -> Either TypeMismatchError [Value t]
- liftMatch :: (AnyValue -> Maybe a) -> Value t -> Maybe a
- matchBool :: Value t -> Maybe Bool
- matchInteger :: Value t -> Maybe Integer
- matchDouble :: Value t -> Maybe Double
- matchText :: Value t -> Maybe Text
- matchDate :: Value t -> Maybe DateTime
- matchArray :: (AnyValue -> Maybe a) -> Value t -> Maybe [a]
Documentation
Existential wrapper for Value
.
reifyAnyValues :: Value t -> [AnyValue] -> Either TypeMismatchError [Value t] Source #