row-types: Open Records and Variants

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]

This package uses closed type families and type literals to implement open records and variants. The core is based off of the CTRex package, but it also includes polymorphic variants and a number of additional functions. That said, it is not a proper superset of CTRex as it specifically forbids records from having more than one element of the same label.


[Skip to Readme]

Properties

Versions 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.3.0.0, 0.3.1.0, 0.4.0.0, 1.0.0.0, 1.0.0.0, 1.0.1.0, 1.0.1.1, 1.0.1.2
Change log CHANGELOG.md
Dependencies base (>=2 && <5), constraints (>=0.11), deepseq (>=1.4), generic-lens (>=1.0.0.0), hashable (>=1.2), profunctors (>=5.0), text, unordered-containers (>=0.2) [details]
License MIT
Author Daniel Winograd-Cort, Matthew Farkas-Dyck
Maintainer dwincort@gmail.com
Category Data, Data Structures
Home page https://github.com/target/row-types
Source repo head: git clone https://github.com/target/row-types/
Uploaded by dwincort at 2020-09-12T13:42:58Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for row-types-1.0.0.0

[back to package description]

Row-Types

Build Status Hackage

Row-types is a library of open records and variants for Haskell using closed type families and type literals (among other things...). See examples/Examples.lhs for a literate Haskell file that functions as an overview of how this library can be used, and check out the website for further examples.

Available on Hackage.

This work is a branch from CTRex [1,2] with other inspiration from data-diverse [3]. My thanks to the authors and contributors of those libraries!

[1] https://wiki.haskell.org/CTRex
[2] https://hackage.haskell.org/package/CTRex/docs/Data-OpenRecords.html
[3] https://hackage.haskell.org/package/data-diverse