Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

hackage.haskell.org : DrIFT

Data.Derive http://hackage.haskell.org/package/derive is good another solution for DrFIT. But DrFIT is Haskell 98 compliant, derive is not. 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 protected].

Registry - Homepage - JSON
purl: pkg:hackage/DrIFT
Keywords: bsd3, data-structures, library, program
License: BSD-3-Clause
Latest release: over 10 years ago
First release: almost 11 years ago
Downloads: 4,604 total
Last synced: 21 days ago

    Loading...
    Readme
    Loading...