[Haskell-cafe] extension to filter with external program (was: Current status of Mavericks CPP)

Mikhail Glushenkov the.dead.shall.rise at gmail.com
Wed Apr 16 12:11:54 UTC 2014


On 16 April 2014 13:29, Tobias Florek <haskell at ibotty.net> wrote:
> hi,
> i may certainly be missing something, as i only used cpp in haskell for
> conditional compilation. having said that:
> i'd like to have (instead of LANGUAGE CPP) the following extension.
> LANGUAGE FilterWithExternalProgram my_cpp

Use custom preprocessor support in Cabal or 'ghc -cpp -pgmP
/path/to/custom_cpp' .

More information about the Haskell-Cafe mailing list