iso-deriving: Deriving via arbitrary isomorphisms.

[ generics, library, mit ] [ Propose Tags ]

The GHC extension DerivingVia allow derivation through a specific morphism: coerce. This library helps generalizing DerivingVia to arbitrary morphisms. This is particularly useful for prototypes and specifications of instances.


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
strictDisabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.0.5, 0.0.6, 0.0.7, 0.0.8
Dependencies base (>=4.12 && <5), mtl, profunctors [details]
License MIT
Author Hans Hoeglund
Maintainer Hans Hoeglund <hans.hoeglund@tweag.io>
Category Generics
Source repo head: git clone git://github.com/hanshoglund/iso-deriving.git
Uploaded by HansHoglund at 2020-04-24T15:12:45Z
Distributions
Downloads 1038 total (16 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-04-24 [all 1 reports]

Readme for iso-deriving-0.0.8

[back to package description]

iso-deriving

The GHC extension DerivingVia allow derivation through a specific morphism: coerce. This library helps generalizing DerivingVia to arbitrary morphisms. This is particularly useful for prototypes and specifications of instances.

See this blog post for more details!