Derive instances through isomorphisms
Go to file
2020-04-23 13:14:51 +01:00
.circleci CI config 2020-04-16 14:18:52 +01:00
.github Import project template 2020-04-16 12:50:03 +01:00
Iso Run formatter 2020-04-23 13:14:51 +01:00
test Add MTL class instances 2020-04-23 13:14:01 +01: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 Add MTL class instances 2020-04-23 13:14:01 +01:00
LICENSE Import project template 2020-04-16 12:50:03 +01:00
README.md Add link to blog post 2020-04-23 11:44:35 +01:00

CircleCI

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!