Support for parsing and rendering YAML documents. http://github.com/snoyberg/yaml/

Version on this page:0.8.[email protected]:1
LTS Haskell 15.15:
Stackage Nightly 2020-06-06:
Latest on Hackage:

See all snapshots yaml appears in

BSD-3-Clause licensed by Michael Snoyman, Anton Ageev, Kirill Simonov
Maintained by Michael Snoyman

Module documentation for

This version can be pinned in stack with:[email protected]:efb9d4c215e3f508f393be4f71e3be1989972ae7f62611d58577048d1fcf7190,4228
  • Data
    • Data.Yaml
      • Data.Yaml.Aeson
      • Data.Yaml.Builder
      • Data.Yaml.Include
      • Data.Yaml.Parser
  • Text
    • Text.Libyaml


Provides support for parsing and emitting Yaml documents.

This package includes the full libyaml C library version 0.1.5 by Kirill Simonov in the package so you don’t need to worry about any non-Haskell dependencies.

The package is broken down into two primary modules. “Data.Yaml” provides a high-level interface based around the JSON datatypes provided by the @[email protected] package. “Text.Libyaml” provides a lower-level, streaming interface. For most users, “Data.Yaml” is recommended.

Additional modules:

  • Data.Yaml.Include supports adding !include directives to your YAML files.
  • DAta.Yaml.Builder and Data.Yaml.Parser allow more fine-grained control of parsing an rendering, as opposed to just using the aeson typeclass and datatype system for parsing and rendering.
  • Data.Yaml.Aeson is currently a re-export of Data.Yaml to explicitly choose to use the aeson-compatible API.



Add the Data.Yaml.Include module