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

[ cli, data, json, library, mit, options, parsing, records ] [ Propose Tags ]

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

Versions [faq] 0.1.0.0
Dependencies aeson, base (>=4.10 && <5), data-default, lens, optparse-applicative, text, unordered-containers, vinyl (>=0.11), yaml [details]
License MIT
Copyright 2018 EURL Tweag, NovaDiscovery
Author
Maintainer Yves Parès <yves.pares@tweag.io>
Category Data, Records, JSON, CLI, Options, Parsing
Home page https://github.com/tweag/porcupine#readme
Bug tracker https://github.com/tweag/porcupine/issues
Source repo head: git clone https://github.com/tweag/porcupine
Uploaded by YvesPares at Wed Oct 9 10:16:04 UTC 2019
Distributions NixOS:0.1.0.0
Downloads 50 total (28 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-09 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees