|
HAppS.Data.DeriveAll | Portability | Not portable | Stability | experimental | Maintainer | AlexJacobson@HAppS.org |
|
|
|
Description |
Concisely specify which classes to derive for your datatypes.
As well as the standard derivable classes, it can also
derive syb-with-class's New.Data class and HAppS.Data.Default's
Default class.
|
|
Synopsis |
|
|
|
Documentation |
|
|
The deriveAll function takes a list of classes to derive and
a block of declarations. It will additionally derive instances for
Typeable, Data and New.Data.
Example:
$( deriveAll [''Show, ''Eq, ''Default] [d|
data Foo a = Foo a
data Bar = Baz | Quux
|] )
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |