Using stringize and string concatenation in ghc preprocessing
allbery.b at gmail.com
Sun Aug 21 20:52:21 UTC 2016
On Sun, Aug 21, 2016 at 4:31 PM, Boespflug, Mathieu <m at tweag.io> wrote:
> I ran into this very problem recently. Turns out -traditional knows string
> concatenation too. I seem to remember learning this by browsing the GHC
> source code, but now I can't find any occurrence of this pattern. But
> here's an example of how to do string concatenation with CPP in
> -traditional mode: https://github.com/tweag/sparkle/blob/
That's the hacky K&R way I mentioned earlier.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Glasgow-haskell-users