C Preprocessor

Simon Marlow simonmarhaskell at gmail.com
Thu Dec 6 08:26:03 EST 2007


Wolfgang Jeltsch wrote:
> Am Donnerstag, 6. Dezember 2007 10:43 schrieb Bernd Brassel:
>> Is it already a known problem that the preprocessor cannot cope with the
>> whole set of possible string declarations?
> 
> Yes, it is.  There is cpphs (<http://www.cs.york.ac.uk/fp/cpphs/>) as an 
> alternative.

Yes, or just don't use string gaps.  ++ works just as well, and GHC will 
optimise it away when applied to constant strings.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list