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 inbase
,text
,bytestring
,vector
, etc. Some of these instances are only provided for old versions of their respective libraries, as the sameLift
instances are also present upstream on newer versions.