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.
Alan On Wed, May 6, 2015 at 3:03 PM, Mikhail Glushenkov < [email protected]> wrote: > On 6 May 2015 at 14:25, Austin Seipp <[email protected]> wrote: > > 2) The lexing rules for C and Haskell simply are not the same in > > general. > > One area where this is irritating is that it makes it impossible to > use Haskell multiline strings together with CPP. > _______________________________________________ > ghc-devs mailing list > [email protected] > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs >
_______________________________________________ ghc-devs mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
