records-sop: Record subtyping and record utilities with generics-sop

[ bsd3, generics, library ] [ Propose Tags ]

This library provides utilities for working with labelled single-constructor record types via generics-sop.

It also provides functions to safely cast between record types if the target type has a subset of the fields (with the same names) of the source type.

Versions [faq] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3
Change log CHANGELOG.md
Dependencies base (>=4.9 && <5.0), deepseq (>=1.3 && <1.5), generics-sop (>=0.3 && <0.5), ghc-prim (==0.5.*) [details]
License BSD-3-Clause
Author Andres Löh <andres@well-typed.com>
Maintainer andres@well-typed.com
Revised Revision 1 made by AndresLoeh at 2018-11-21T13:38:48Z
Category Generics
Source repo head: git clone https://github.com/kosmikus/records-sop
Uploaded by AndresLoeh at 2018-10-20T18:25:31Z
Distributions LTSHaskell:0.1.0.3, NixOS:0.1.0.3, Stackage:0.1.0.3
Downloads 2136 total (75 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 2018-10-20 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees