iso-deriving: Deriving via arbitrary isomorphisms.

[ generics, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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

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

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]
Tested with ghc >=0
License MIT
Author Hans Hoeglund
Maintainer Hans Hoeglund <hans.hoeglund@tweag.io>
Revised Revision 1 made by AndreasAbel at 2024-06-07T11:52:18Z
Category Generics
Source repo head: git clone https://github.com/hanshoglund/iso-deriving.git
Uploaded by HansHoglund at 2020-04-24T15:12:45Z
Distributions
Downloads 1157 total (6 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!