@hackage / docrecords

Vinyl-based records with hierarchical field names, default values and documentation

Latest0.1.0.0

About

Metadata

  • Last updated , by sjakobi
  • License MIT
  • Categories JSON, Parsers
  • Maintained by: Yves Parès <yves.pares@tweag.io>

  • Lottery factor: 0

Links

Installation

Readme

Implements the DocRec type, which is a record (in the vinyl sense) where each field has an optional value and a docstring. The names of the fields are type-level lists of Symbols, acting as paths. This makes docrecords hierarchical. Addionally, we provide the code to read docrecords from JSON files and derive CLI parsers to override the records read from files. docrecords is part of the porcupine ecosystem. See the README at https://github.com/tweag/porcupine#README.md