generated from tpl/purs
e392713273
- Bumped dependencies - Use generic rep - New operator syntax - New qualified import syntax
549 B
549 B
Module Data.YAML.Foreign.Decode
parseYAML
parseYAML :: String -> F Foreign
Attempt to parse a YAML string, returning the result as foreign data.
readYAML
readYAML :: forall a. IsForeign a => String -> F a
Attempt to parse a YAML string into the datastructure you want.
readYAMLGeneric
readYAMLGeneric :: forall a rep. (Generic a rep, GenericDecode rep) => Options -> String -> F a
Automatically generate a YAML parser for your data from a generic instance.