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]
Versions [faq] 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 NixOS:0.0.8
Downloads 277 total (104 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 2020-04-24 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
strictDisabledManual

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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!