@hackage / church

Automatically convert Generic instances to and from church representations

Latest0.1.0.0

About

Metadata

  • Last updated , by dailectic
  • License MIT
  • Categories Generics
  • Maintained by: daig@sodality.cc

  • Lottery factor: 0

Links

Installation

Readme

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.