Safe Haskell | None |
---|
- yokoTH :: Name -> Q [Dec]
- yokoTH_with :: YokoOptions -> Name -> Q [Dec]
- data YokoOptions = YokoOptions {}
- data Mapping = Mapping {}
- yokoDefaults :: YokoOptions
Derivers
yokoTH_with :: YokoOptions -> Name -> Q [Dec]Source
Customized derivation.
Options
data YokoOptions Source
The default yoko
derivations can be customised.
YokoOptions | |
|
A Mapping
identifies the representation type, its constructor, and the
associated mapping function. For example, Par1
is represented with
Mapping ''Par1 'Par1 'invmap
.
Mapping | |
|
yokoDefaults :: YokoOptionsSource
The default options. yokoDefaults = YokoOptions id id
.