DrIFT automates instance derivation for classes that aren't supported by the standard compilers. In addition, instances can be produced in separate 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.
Features:
- DrIFT comes with a set of rules to produce instances for all
derivable classes given in the Haskell Prelude. There are also a
number of extra useful rules to derive instances of a variety of
useful classes.
- DrIFT performs import chasing to find the definition of a type.
- Code is generated using pretty-printing combinators. This means
that the output is (fairly) well formatted, and easy on the eye.
- Effort has been made to make the rule interface as easy to use as
possible. This is to allow users to add rules to generate code
specific to their own projects. As the rules are themselves
written in Haskell, the user doesn't have to learn a new language
to express rules.
|
|
|
| アーキテクチャ | パッケージサイズ | インストールサイズ | ファイル |
|---|---|---|---|
| alpha | 1,537.8 kB | 8544 kB | [ファイル一覧] |
| amd64 | 485.5 kB | 1848 kB | [ファイル一覧] |
| arm | 968.8 kB | 5668 kB | [ファイル一覧] |
| armel | 1,155.5 kB | 7140 kB | [ファイル一覧] |
| hppa | 1,557.6 kB | 7252 kB | [ファイル一覧] |
| hurd-i386 | 831.4 kB | 4456 kB | [ファイル一覧] |
| i386 | 457.2 kB | 1404 kB | [ファイル一覧] |
| ia64 | 1,585.6 kB | 13536 kB | [ファイル一覧] |
| kfreebsd-i386 (非公式の移植版) | 945.6 kB | 4916 kB | [ファイル一覧] |
| m68k | 842.8 kB | 4564 kB | [ファイル一覧] |
| mips | 1,617.1 kB | 9524 kB | [ファイル一覧] |
| mipsel | 1,582.6 kB | 9520 kB | [ファイル一覧] |
| powerpc | 955.9 kB | 5508 kB | [ファイル一覧] |
| s390 | 1,582.3 kB | 7008 kB | [ファイル一覧] |
| sparc | 1,064.6 kB | 5784 kB | [ファイル一覧] |