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

Versions [faq]
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
Maintainer Yves Parès <>
Category Data, Records, JSON, CLI, Options, Parsing
Home page
Bug tracker
Source repo head: git clone
Uploaded by YvesPares at 2019-10-09T10:16:04Z
Distributions NixOS:
Downloads 310 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-10-09 [all 1 reports]


[Index] [Quick Jump]


Maintainer's Corner

For package maintainers and hackage trustees