RepLib-0.5.4: Generic programming library with representation types

LicenseTBD
Maintainersweirich@cis.upenn.edu
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Generics.RepLib.Derive

Description

Automatically derive representations and instance declarations for user defined datatypes. The typical use is $(derive [''MyType1, ''MyType2])

Synopsis

Documentation

derive :: [Name] -> Q [Dec] Source #

Generate representations (both basic and parameterized) for a list of types.

derive_abstract :: [Name] -> Q [Dec] Source #

Generate abstract representations for a list of types.