|
Generics.Regular.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 regular
library.
|
|
Synopsis |
|
|
|
Documentation |
|
|
Given the type and the name (as string) for the pattern functor to derive,
generate the Constructor' instances, the Selector' instances and the
Regular instance.
|
|
|
Given a datatype name, derive datatypes and
instances of class Constructor.
|
|
|
Given a datatype name, derive datatypes and
instances of class Selector.
|
|
|
Given the type and the name (as string) for the
pattern functor to derive, generate the Regular
instance.
|
|
|
Derive only the PF instance. Not needed if deriveRegular
is used.
|
|
Produced by Haddock version 2.4.2 |