 YAMLPopular data formats
YAMLPopular data formats
YAML is a popular format for writing configuration files. It looks like this:
%YAML 1.2
---
receipt:     Oz-Ware Purchase Invoice
date:        2012-08-06
customer:
    first_name:   Dorothy
    family_name:  Gale
items:
    - part_no:   A4786
      descrip:   Water Bucket (Filled)
      price:     1.47
      quantity:  4
    - part_no:   E1628
      descrip:   High Heeled "Ruby" Slippers
      size:      8
      price:     133.7
      quantity:  1
bill-to:  &id001
    street: |
            123 Tornado Alley
            Suite 16
    city:   East Centerville
    state:  KS
ship-to:  *id001
specialDelivery:  >
    Follow the Yellow Brick
    Road to the Emerald City.
    Pay no attention to the
    man behind the curtain.
...Recommendation
yaml is a Haskell library based on the C library LibYAML for parsing and generating YAML documents.
Notes
<notes are empty>
Ecosystem
- yaml-light: A light-weight wrapper with utility functions around HsSyck
- yaml-light-lens: Lens interface to yaml-light
Notes
<notes are empty>