Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
encodeWith :: Value a -> a -> Value Source #
type Value a = Codec (ReaderT Value (ExceptT String Identity)) (MaybeT (StateT Value Identity)) (AccumT (Map Identifier Schema) Identity (Maybe Identifier, Schema)) a a Source #
literalCodec :: Value -> Value () Source #
withIdentifier :: Identifier -> Value a -> Value a Source #