Module

Oak.Cmd.Http.Conversion

Package
purescript-oak
Repository
ehrenmurdick/purescript-oak

#defaultEncode Source

defaultEncode :: forall a rep. Generic a rep => GenericEncode rep => a -> Foreign

#defaultDecode Source

defaultDecode :: forall a rep. Generic a rep => GenericDecode rep => Foreign -> F a

#makeEncoder Source

makeEncoder :: forall a t. Generic a t => GenericEncode t => a -> String

#makeDecoder Source

makeDecoder :: forall a t. Generic a t => GenericDecode t => Decode a => String -> Either String a