@hackage records-sop0.1.1.1
Record subtyping and record utilities with generics-sop
Installation
Tested Compilers
Dependencies (4)
- base >=4.9 && <5.0
- deepseq >=1.3 && <1.5
- ghc-prim >=0.5 && <0.11
- generics-sop >=0.3 && <0.6 Show all…
Dependents (5)
@hackage/vinyl-generics, @hackage/waargonaut, @hackage/acme-everything, @hackage/squeal-postgresql, @hackage/postgresql-tx-squeal
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.