[Haskell-cafe] Current status of Mavericks CPP

Carter Schonwald carter.schonwald at gmail.com
Wed Apr 16 14:42:23 UTC 2014


I'd like to point out that cpphs is a thing.  And that the near term plans
for ghc are likely to lean on cpphs.

A huge constraint is that ghc and many other Haskell code bases use cpp,
and unless we migrate everything any near term choice will essentially be a
Haskell aware cpp.

On Wednesday, April 16, 2014, Mike Meyer <mwm at mired.org> wrote:

> On Apr 16, 2014 5:35 AM, "Ben Franksen" <ben.franksen at online.de<javascript:_e(%7B%7D,'cvml','ben.franksen at online.de');>>
> wrote:
> > Furthermore, I strongly suggest that a suitable replacement for CPP
> should
> > be designed in such a way that its specification can be added to a future
> > Haskell language standard. This is the only way to ensure that
> > implementations other than GHC can be brought along.
>
> Do we need a Haskell-specific language preprocessor, or just one that's
> designed to be a general purpose preprocessor instead of specific to some
> language that's not Haskell? For instance, m4 should be available on most
> Unix-like systems, and wouldn't have most of the problems I've seen
> mentioned here. Not allowing single quotes in its variable names would
> still happen, but those should be lexically distinct from Haskell variables.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140416/832ee981/attachment.html>


More information about the Haskell-Cafe mailing list