DeriveLift GHC documentation for
DeriveLift. extension allows you to derive instances of the
Lift Documentation for the
Lift class typeclass. In contrast to most derivable typeclasses, the
Lift class does not live in
base; rather, it is part of the Template Haskell ecosystem and thus comes from the
template-haskell package package.
Lift for a datatype allows its values to be “lifted” into Template Haskell expressions. Such expressions may then be spliced into Haskell source code. This is useful when one wants to effect compile-time evaluation as well as when writing quasi-quoters.
DeriveLift has been in GHC since 7.2.1.