Derive instances through isomorphisms
Go to file
Hans Höglund 4230bbff15
Merge pull request #2 from Profpatsch/master
Fix import of `when` for GHC 9.6
2024-06-07 18:43:26 +01:00
.circleci Improve Haddocks 2020-04-23 14:48:28 +01:00
.github Import project template 2020-04-16 12:50:03 +01:00
Iso Remove bad pragma 2020-04-24 16:11:38 +01:00
test Fix import of when for GHC 9.6 2024-04-08 11:07:54 +02:00
.gitignore Cabal build config 2020-04-16 14:08:51 +01:00
cabal.project Cabal build config 2020-04-16 14:08:51 +01:00
cabal.project.freeze Cabal build config 2020-04-16 14:08:51 +01:00
default.nix Cleanup Nix expression 2020-04-23 11:50:11 +01:00
iso-deriving.cabal Bump version 2020-04-24 16:12:03 +01:00
LICENSE Import project template 2020-04-16 12:50:03 +01:00
README.md Remove CI button for now 2020-04-23 15:01:25 +01:00

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!