[Haskell] hscpp

John Meacham john at repetae.net
Mon Sep 27 17:42:47 EDT 2004

On Mon, Sep 27, 2004 at 11:18:29PM +0200, Wolfgang Jeltsch wrote:
> Hello,
> there was some discussion about a Haskell-friendly CPP a while ago.  What 
> happend to this project?  I desperately need such a preprocessor.
> CPP 3.3.4, which I use now, is not usable for me because you cannot have such 
> a simple thing like a \\ operator with it.  How do others solve such 
> problems?  I cannot believe that there isn't a better way than living with 
> all those terrible restrictions, using CPP imposes on you.

You just need to ensure that \\ does not appear at the end of a line. so
do things like

infixl 9 \\  -- Hack for CPP

and it should work. 


John Meacham - ⑆repetae.net⑆john⑈ 

More information about the Haskell mailing list