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.
|
|
|
| 硬體架構 | 套件大小 | 安裝後大小 | 檔案 |
|---|---|---|---|
| alpha | 904.3 kB | 4908 kB | [文件列表] |
| arm | 77.3 kB | 256 kB | [文件列表] |
| hppa | 953.7 kB | 4788 kB | [文件列表] |
| i386 | 151.1 kB | 536 kB | [文件列表] |
| ia64 | 914.4 kB | 9452 kB | [文件列表] |
| m68k | 537.1 kB | 3288 kB | [文件列表] |
| mips | 110.1 kB | 384 kB | [文件列表] |
| mipsel | 108.9 kB | 384 kB | [文件列表] |
| powerpc | 580.6 kB | 3848 kB | [文件列表] |
| s390 | 930.0 kB | 4848 kB | [文件列表] |
| sparc | 174.1 kB | 740 kB | [文件列表] |