BSD-3-Clause licensed by Ian Lynagh
This version can be pinned in stack with:th-lift-0.8.0.1@sha256:cceb81b12c0580e02a7a3898b6d60cca5e1be080741f69ddde4f12210d8ba7ca,1960
Module documentation for 0.8.0.1
Used by 13 packages in
nightly-2019-07-29(full list with versions):
dbus,
docopt,
inline-r,
language-docker,
mustache,
pantry,
store,
text-show,
th-desugar,
th-lift-instances,
th-orphans,
th-printf,
xml-html-qq Derive Template Haskell's Lift class for datatypes using TemplateHaskell
th-orphans package provides instances for template-haskell
syntax types
th-lift-instances package provides Lift
(compat) instances for types in base
, text
, bytestring
, vector
etc.
Change Log
All notable changes to this project will be documented in this file.
[0.8]
- Use
TemplateHaskellQuotes
where available
[0.7.11] - 2018-08-27
[0.7.10] - 2018-02-01
- Add support for data families
[0.7.9] - 2018-02-01
Lift
instances for Identity
and Const
.
[0.7.8] - 2018-02-01
[0.7.7] - 2015-04-19
[0.7.6] - 2015-01-18
[0.7.5] - 2015-11-19
- Added
makeLift
, for cases when it’s necessary to write the
instance manually. (Thanks to Ryan Scott).
- Support empty datatypes and unboxed types.
[0.7] - 2014-12-07
- 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.
[0.6] - 2013-12-09
- Support GHC 7.8, thanks to Michael Snoyberg.
- Support existentially quantified type variables in datatype
declarations.
- Handle exotic kinds properly.
[0.5.2] - 2010-09-19
- Support older GHCs and Cabal, thanks to Ben Millwood.
[0.5] - 2010-08-05
- 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.
[0.4] - 2010-08-02
- 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.
[0.3] - 2010-03-24
- Port to Template Haskell 2.4.
- Maintainer is now Mathieu Boespflug.
[0.2] - 2006-09-06
Initial release by Ian Lynagh.