[Haskell-cafe] extension to filter with external program (was: Current status of Mavericks CPP)
the.dead.shall.rise at gmail.com
Wed Apr 16 12:18:01 UTC 2014
On 16 April 2014 14:11, Mikhail Glushenkov
<the.dead.shall.rise at gmail.com> wrote:
> 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' .
Together with the OPTIONS_GHC pragma this gives you exactly what you requested.
More information about the Haskell-Cafe