|
Generics.MultiRec.TH | Portability | non-portable | Stability | experimental | Maintainer | generics@haskell.org |
|
|
|
Description |
This module contains Template Haskell code that can be used to
automatically generate the boilerplate code for the multiplate
library. The constructor information can be generated per datatype,
the rest per system of datatypes.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Given a list of datatype names, derive datatypes and
instances of class Constructor.
|
|
|
Given the name of the index GADT, the names of the
types in the system, and the name (as string) for the
pattern functor to derive, generate the Ix and PF
instances. IMPORTANT: It is assumed that the constructors
of the GADT have the same names as the datatypes in the
family.
|
|
|
Derive only the PF instance. Not needed if deriveSystem
is used.
|
|
|
Derive only the Ix instances. Not needed if deriveSystem
is used.
|
|
Produced by Haddock version 2.4.2 |