[Haskell-cafe] Re: Handling platform- or configuration-specific code (or, my CPP complaints)

2010-09-09 Thread Johannes Waldmann
Malcolm Wallace malcolm.wallace at me.com writes: I agree that CPP used only for conditional compilation, is much more acceptable than using it for macros as well. And co-incidentally, cpphs has a --nomacro flag. So that's basically what the C# preprocessor does?

[Haskell-cafe] Re: Handling platform- or configuration-specific code (or, my CPP complaints)

2010-09-09 Thread Geoffrey Mainland
On 09/09/2010 00:54, wren ng thornton wrote: On 9/7/10 3:10 PM, Ben Millwood wrote: So I wonder what people think of the use of CPP in Haskell code, what alternatives people can propose, or what people hope to see in future to make conditional compilation of Haskell code more elegant and