[Haskell-cafe] Using stringize and string concatenation in ghc preprocessing

Andrew Butterfield Andrew.Butterfield at scss.tcd.ie
Tue Jan 24 08:11:35 UTC 2017

Why not write a new Haskell version of CPP  with a more corporate-friendly OS license?

(HPP ?)

> On 23 Jan 2017, at 23:43, Ben Franksen <ben.franksen at online.de> wrote:
> Am 23.01.2017 um 23:25 schrieb Sven Panne:
>> 2017-01-23 22:42 GMT+01:00 Ben Franksen <ben.franksen at online.de>:
>> We could talk endlessly about this
> Right. I am tired of it, too. I am ready to concede that there are
> /enough/ of these people around that it is a real problem for some
> Haskell users.
> For me things are exactly the opposite: as a Haskell preprocessor, using
> cpphs is the much safer option compared to CPP. History has shown that
> e.g. the gcc developers change cpp's behaviour in ways that are
> incompatible with using cpp for anything other than C or C++, even if
> that means interpreting the C standard in quite a liberal way.
> I would very much like to be able to use cpphs as a drop-in replacement
> for cpp and to be able to change the default cpp in a ghc configuration
> file, rather than at compile time (so I can still use a ghc packaged for
> my distro).
> Cheers
> Ben
> -- 
> "Make it so they have to reboot after every typo." ― Scott Adams
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

Andrew Butterfield
School of Computer Science & Statistics
Trinity College
Dublin 2, Ireland

More information about the Haskell-Cafe mailing list