|derive-0.1: A program and library to derive instances for data types||Contents||Index|
The main TH driver module. It is intended that this need be the
only module imported by user code; it takes care of all data
threading issues such that all one needs to do is:
data Foo = Foo ; $( derive eq ''Foo )
|derive :: Derivation -> Name -> Q [Dec]|
|Derive an instance of some class. derive only derives instances
for the type of the argument.
|data Derivation |
|The type of ways to derive classes.
Should not really be in this module!
|_derive_string_instance :: Derivation -> Name -> Q Exp|
|Derive for a type and print the code to standard output. This is
a internal hook for the use of the Derive executable.
|Produced by Haddock version 0.8|