th-lift: Derive Template Haskell's Lift class for datatypes.

[ bsd3, language, library ] [ Propose Tags ]

Derive Template Haskell's Lift class for datatypes using TemplateHaskell. The functionality in this package has largely been subsumed by the DeriveLift language extension, which is available in GHC 8.0 and later versions. This package can still be useful as a uniform way to derive Lift instances that is backwards-compatible with older GHCs.

The following libraries are related:

  • The th-orphans package provides instances for template-haskell syntax types.

  • The th-lift-instances package provides Lift instances for types in base, text, bytestring, vector, etc. Some of these instances are only provided for old versions of their respective libraries, as the same Lift instances are also present upstream on newer versions.


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0.2, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.5.5, 0.5.6, 0.6, 0.6.1, 0.7, 0.7.1, 0.7.2, 0.7.5, 0.7.6, 0.7.7, 0.7.8, 0.7.9, 0.7.10, 0.7.11, 0.8,, 0.8.1, 0.8.2
Change log
Dependencies base (>=4.3 && <5), ghc-prim, template-haskell (>=2.5 && <2.20), th-abstraction (>=0.2.3 && <0.5) [details]
License BSD-3-Clause[multiple license files]
Copyright © 2006 Ian Lynagh, © 2010-2019 Mathieu Boespflug, © 2019 Ryan Scott
Author Ian Lynagh
Maintainer Ryan Scott <>
Revised Revision 2 made by ryanglscott at 2022-07-23T17:55:52Z
Category Language
Home page
Source repo head: git clone
Uploaded by ryanglscott at 2020-09-29T13:14:05Z
Distributions Arch:0.8.2, Debian:0.8.1, Fedora:0.8.2, LTSHaskell:0.8.2, NixOS:0.8.2, Stackage:0.8.2, openSUSE:0.8.2
Reverse Dependencies 84 direct, 4082 indirect [details]
Downloads 89136 total (210 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-09-29 [all 1 reports]