church

Automatically convert Generic instances to and from church representations

https://github.com/exordium/church#readme

Latest on Hackage:0.1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Dai
Maintained by [email protected]

This package provides a type ChurchRep to generically construct the type of the church representation. Additionally, it provides a type class Church which contains a pair of functions for mapping back and forth between the two representations. Both the ChurchRep and the Church instance are be automatically constructed for all types with a Generic instance. Based on code by Danny Gratzer.