On Apr 16, 2014 5:35 AM, "Ben Franksen" <ben.franksen@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.