[Haskell-cafe] RFC: "Native -XCPP" Proposal
johannes.waldmann at htwk-leipzig.de
Wed May 6 20:18:30 UTC 2015
There is maybe another option: do what csharp does.
Define a reduced "preprocessor" (for conditional compilation,
but without macro expansion) as part of the language.
(cf. https://msdn.microsoft.com/en-us/library/ed8yd1ha.aspx )
They must have have had good reasons for doing it this way.
PS: I was trying to add a proper reference (to the language spec)
but this seems hard. It is Section 9.5 of ECMA-334.
For viewing the newer specs, it seems you need to have MS-Word or
VS installed. See also http://stackoverflow.com/questions/13467103/
More information about the Haskell-Cafe