th-lift

Derive Template Haskell's Lift class for datatypes. http://github.com/mboes/th-lift

Version on this page:0.7.2
LTS Haskell 8.12:0.7.7
Stackage Nightly 2017-04-24:0.7.7
Latest on Hackage:0.7.7
BSD3 licensed by Ian Lynagh
Maintained by Mathieu Boespflug

Module documentation for 0.7.2

Derive Template Haskell's Lift class for datatypes.

Changes

2015-01-18 Mathieu Boespflug <mboes@tweag.net>

* GHC 8.1 compatibility.

2015-11-19 Mathieu Boespflug <mboes@tweag.net>

* Added makeLift, for cases when it's necessary to write the
instance manually. (Thanks to Ryan Scott).
* Support empty datatypes and unboxed types.

2014-12-07 Mathieu Boespflug <mboes@tweag.net>

* Support GHC 7.9 and hopefully 7.10, thanks to Richard Eisenberg.
* On versions of GHC that support role inference, don't constrain
phantom type variables.
* Get rid of some orphan instances when using GHC >= 7.9.

2013-12-09 Mathieu Boespflug <mboes@tweag.net>

* Support GHC 7.8, thanks to Michael Snoyberg.
* Support existentially quantified type variables in datatype
declarations.
* Handle exotic kinds properly.

2010-09-19 Mathieu Boespflug <mboes@tweag.net>

* Support older GHCs and Cabal, thanks to Ben Millwood.

2010-08-05 Mathieu Boespflug <mboes@tweag.net>

* Support for contexts in datatypes, thanks to Ben Millwood.
* deriveLiftWith becomes deriveLift' and takes an Info structure
rather than a custom reification function.
* Add deriveLiftMany to derive many Lift instances in one go.

2010-08-02 Mathieu Boespflug <mboes@tweag.net>

* Add support for newtypes and records syntax, thanks to a patch
by Ben Millwood.
* Add support for infix constructors.
* deriveLift returns a list of declarations.
* New deriveLiftWith function with custom reification, following a
feature request by Jonas DuregÄrd.

2010-03-24 Mathieu Boespflug <mboes@tweag.net>

* Port to Template Haskell 2.4.
* Maintainer is now Mathieu Boespflug.

2006-09-06 Ian Lynagh <igloo@earth.li>

* Initial release.
comments powered byDisqus