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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]


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


Change log None available
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:12:23Z


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees