[Haskell-cafe] RFC: "Native -XCPP" Proposal

Evan Laforge qdunkan at gmail.com
Wed May 6 20:23:52 UTC 2015


On Wed, May 6, 2015 at 1:18 PM, Johannes Waldmann
<johannes.waldmann at htwk-leipzig.de> wrote:
> 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 )

Rust is also doing this, but they have their own syntax, not CPP.  I
think they'll save themselves some hassle this way.


More information about the Haskell-Cafe mailing list