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

On Sun, Aug 21, 2016 at 4:31 PM, Boespflug, Mathieu
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/ a4e481aa5180b6ec93c219f827aefe932b66a953/inline-java/src/ Foreign/JNI.hs#L274
.
That's the hacky K&R way I mentioned earlier. -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
participants (1)
-
Brandon Allbery