Copyright | (c) Matt Morrow 2008 |
---|---|
License | BSD3 |
Maintainer | Michael Sloan <mgsloan at gmail> |
Stability | experimental |
Portability | portable (template-haskell) |
Safe Haskell | None |
Language | Haskell2010 |
It provides the following instances:
Ord
,Lift
,Generic
,Show
,Eq
,Data
,Typeable
,Ppr
, instances for the datatypes in Language.Haskell.THLift
instances for Data.Word / Data.Int typesApplicative
forQ
Quasi
forReaderT
,WriterT
,StateT
, andRWST
.Typeable
forLift
,NameIs
,Ppr
,PprM
,Q
,Quasi
,QuasiQuoter
, andTExp
More recent versions of template-haskell, particularly 2.10 (GHC 7.10), provide these instances. However, in order to support older versions you should import this module.
Note that the Ord
instances are not guaranteed to produce
consistent results across template-haskell / GHC versions, as they
have different data types, with different constructor orders.
This module also implicitly re-exports the instances defined in
Instances.TH.Lift. This is mostly to ensure that there aren't
collisions of orphans between th-orphans
and th-lift-instances
.
Orphan instances
Lift Exp # | |
Lift Match # | |
Lift Clause # | |
Lift Pat # | |
Lift Type # | |
Lift Dec # | |
Lift FunDep # | |
Lift TyVarBndr # | |
Lift InjectivityAnn # | |
Lift Overlap # | |
Lift Loc # | |
Lift Info # | |
Lift Fixity # | |
Lift FixityDirection # | |
Lift Lit # | |
Lift Body # | |
Lift Guard # | |
Lift Stmt # | |
Lift Range # | |
Lift TypeFamilyHead # | |
Lift TySynEqn # | |
Lift Foreign # | |
Lift Callconv # | |
Lift Safety # | |
Lift Pragma # | |
Lift Inline # | |
Lift RuleMatch # | |
Lift Phases # | |
Lift RuleBndr # | |
Lift AnnTarget # | |
Lift SourceUnpackedness # | |
Lift SourceStrictness # | |
Lift Con # | |
Lift Bang # | |
Lift FamilyResultSig # | |
Lift TyLit # | |
Lift Role # | |
Quasi m => Quasi (StateT s m) # | |
(Quasi m, Monoid w) => Quasi (WriterT w m) # | |
Quasi m => Quasi (ReaderT * r m) # | |
(Quasi m, Monoid w) => Quasi (RWST r w s m) # | |