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

Ben Franksen ben.franksen at online.de
Tue Jan 24 20:06:12 UTC 2017


Am 24.01.2017 um 17:07 schrieb Anthony Cowley:
>> On Jan 24, 2017, at 3:11 AM, Andrew Butterfield <Andrew.Butterfield at scss.tcd.ie> wrote:
>>
>> Why not write a new Haskell version of CPP  with a more corporate-friendly OS license?
>>
>> (HPP ?)
> 
> I already wrote hpp, and it's been on hackage for a while now. Its test suite puts it through the spec conformance portion of the mcpp test suite, so one can be somewhat confident that it does the fiddly things correctly. That said, I did find and fix bugs when running it over lens (a sigil-rich environment, to be sure) during testing, so there may yet be Haskell code it doesn't play well with.
> 
> It is fairly fast, memory-efficient, written entirely in Haskell, on GitHub, and BSD-licensed.

That's like music (progressive rock, to be specific) in my ears!

Cheers
Ben
-- 
"Make it so they have to reboot after every typo." ― Scott Adams



More information about the Haskell-Cafe mailing list