@hackage generic-deriving1.0.2
Generic programming library for generalized deriving.
Installation
CustomDependencies (3)
- base <4.5
- ghc-prim <0.3
- template-haskell >=2.4 && <2.7 Show all…
Dependents (72)
@hackage/hyperion, @hackage/sbv, @hackage/tasty-grading-system, @hackage/markov-realization, @hackage/lift-generics, @hackage/generic-maybe, Show all…
This package provides functionality for generalizing the deriving mechanism in Haskell to arbitrary classes. It was first described in the paper:
A generic deriving mechanism for Haskell. Jose Pedro Magalhaes, Atze Dijkstra, Johan Jeuring, and Andres Loeh. Haskell'10.
The current implementation integrates with the new GHC Generics. See http://www.haskell.org/haskellwiki/Generics for more information. Template Haskell code is provided for supporting GHC before version 7.2.