The DrIFT-cabalized package

[ Tags: bsd3, data-structures, deprecated, program ] [ Propose Tags ]
Deprecated. in favor of DrIFT

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

[Skip to Readme]


Versions,,, 2.2.4, 2.3.0
Change log Changelog
Dependencies base (>=4.0 && <5), old-time, process, random [details]
License BSD3
Author Noel Winstanley, John Meacham <>
Maintainer <>, Kiwamu Okabe <>
Category Data Structures
Home page
Source repo head: git clone
Uploaded Tue May 21 05:45:20 UTC 2013 by KiwamuOkabe
Distributions NixOS:2.3.0
Executables DrIFT-cabalized-ghc, DrIFT-cabalized
Downloads 2365 total (22 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Successful builds reported [all 7 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for DrIFT-cabalized-2.2.4

[back to package description]

DrIFT-cabalized Build Status

This package contains a source distribution of DrIFT, a tool for automatic derivation of Haskell class instances. DrIFT was formerly known as Derive.

The original homepage is at But DrIFT-cabalized package has some changes with original DrIFT.

Contents of this package:

  • src: Directory with the source files of the DrIFT tool
  • example: Directory with examples of using the DrIFT tool
  • docs: Documentation

How to install

To configure and install DrIFT from the source tarball

$ autoreconf -i
$ ./configure
$ make cabal-install