iso-deriving/README.md

8 lines
375 B
Markdown
Raw Normal View History

2020-04-16 15:14:19 +03:00
[![CircleCI](https://circleci.com/gh/hanshoglund/iso-deriving.svg?style=svg)](https://circleci.com/gh/hanshoglund/iso-deriving)
2020-04-16 14:50:03 +03:00
# iso-deriving
2020-04-16 21:29:07 +03:00
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.