Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data AnyValue = AnyValue (Value t)
- reifyAnyValues :: Value t -> [AnyValue] -> Either TypeMismatchError [Value t]
- toMArray :: [AnyValue] -> Maybe (Value TArray)
- 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]