The C pre-processor has been widely used in Haskell source code. It enables conditional compilation for different compilers, different versions of the same compiler, and different OS platforms. It is also occasionally used for its macro language, which can enable certain forms of platform-specific detail-filling, such as the tedious boilerplate generation of instance definitions and FFI declarations.
However, gcc's cpp has recently been evolving to more strictly adhere to the C standard. This has had the effect of making it increasingly incompatible with Haskell's syntax. This is a cpp-a-like designed with Haskell's syntax in mind.
|
|
|
| Arkitektur | Paketstorlek | Installerad storlek | Filer |
|---|---|---|---|
| alpha | 904,3 kbyte | 4908 kbyte | [filförteckning] |
| amd64 (inofficiell anpassning) | 1.639,8 kbyte | 5128 kbyte | [filförteckning] |
| arm | 77,3 kbyte | 256 kbyte | [filförteckning] |
| hppa | 953,7 kbyte | 4788 kbyte | [filförteckning] |
| i386 | 151,1 kbyte | 536 kbyte | [filförteckning] |
| ia64 | 914,4 kbyte | 9452 kbyte | [filförteckning] |
| m68k | 537,1 kbyte | 3288 kbyte | [filförteckning] |
| mips | 110,1 kbyte | 384 kbyte | [filförteckning] |
| mipsel | 108,9 kbyte | 384 kbyte | [filförteckning] |
| powerpc | 580,6 kbyte | 3848 kbyte | [filförteckning] |
| s390 | 930,0 kbyte | 4848 kbyte | [filförteckning] |
| sparc | 174,1 kbyte | 740 kbyte | [filförteckning] |