<div dir="ltr"><div>Perhaps it makes sense to scan hackage to find all the different CPP idioms that are actually used in Haskell code, if it is a small/well-defined set it may be worth writing a simple custom preprocessor.<br><br></div>Alan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 6, 2015 at 3:03 PM, Mikhail Glushenkov <span dir="ltr"><<a href="mailto:the.dead.shall.rise@gmail.com" target="_blank">the.dead.shall.rise@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 6 May 2015 at 14:25, Austin Seipp <<a href="mailto:austin@well-typed.com">austin@well-typed.com</a>> wrote:<br>
>   2) The lexing rules for C and Haskell simply are not the same in<br>
> general.<br>
<br>
</span>One area where this is irritating is that it makes it impossible to<br>
use Haskell multiline strings together with CPP.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</div></div></blockquote></div><br></div>