The DrIFT package
Today Data.Derive http://hackage.haskell.org/package/derive is good another solution for DrFIT. See the User Manual http://community.haskell.org/~ndm/darcs/derive/derive.htm.
DrIFT is a type sensitive preprocessor for Haskell. It extracts type declarations and directives from modules. The directives cause rules to be fired on the parsed type declarations, generating new code which is then appended to the bottom of the input file. The rules are expressed as Haskell code, and it is intended that the user can add new rules as required.
DrIFT automates instance derivation for classes that aren't supported by the standard compilers. In addition, instances can be produced in seperate modules to that containing the type declaration. This allows instances to be derived for a type after the original module has been compiled. As a bonus, simple utility functions can also be produced from a type.
This package was cabalized by gwern email@example.com.
[Skip to Readme]
|Versions||2.4.0, 2.4.1, 2.4.2|
|Dependencies||base (>=4.0 && <5), DrIFT, old-time, process, random [details]|
|Author||Noel Winstanley, John Meacham <firstname.lastname@example.org>|
|Maintainer||gwern <email@example.com>, Metasepi team <firstname.lastname@example.org>|
|Source repository||head: git clone https://github.com/ajhc/drift.git|
|Uploaded||Wed Sep 4 07:43:05 UTC 2013 by KiwamuOkabe|
|Downloads||1601 total (14 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees