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
.