th-orphans-0.13.0: Orphan instances for TH datatypes

Copyright | (c) Matt Morrow 2008
License | BSD3
Maintainer | Michael Sloan <mgsloan at gmail>
Stability | experimental
Portability | portable (template-haskell)
Safe Haskell | None
Language | Haskell2010

Language.Haskell.TH.Instances

Description

It provides the following instances:

- `Ord`, `Lift`, `Generic`, `Show`, `Eq`, `Data`, `Typeable`, `Ppr`, instances for the datatypes in Language.Haskell.TH
- `Lift` instances for Data.Word / Data.Int types
- `Applicative` for `Q`
- `Quasi` for `ReaderT`, `WriterT`, `StateT`, and `RWST`.
- `Typeable` for `Lift`, `NameIs`, `Ppr`, `PprM`, `Q`, `Quasi`, `QuasiQuoter`, and `TExp`

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.