
16 Apr
2014
16 Apr
'14
12:18 p.m.
Hi,
On 16 April 2014 14:11, Mikhail Glushenkov
Use custom preprocessor support in Cabal or 'ghc -cpp -pgmP /path/to/custom_cpp' .
Correction: A better method is to use '-F -pgmF /path/to/custom_cpp' [1]. Together with the OPTIONS_GHC pragma this gives you exactly what you requested. [1] http://www.haskell.org/ghc/docs/7.0.3/html/users_guide/options-phases.html#p...