generic-church

Automatically convert Generic instances to and from church representations

Latest on Hackage:0.3.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 Danny Gratzer
Maintained by [email protected]

This package provides a type to generically construct the type of the church representation. Additionally, it provides a type class ChurchRep which contains a pair of functions for mapping back and forth between the two representations.

Both the type and the ChurchRep instance are be automatically constructed for all types with a Generic instance.