
6 Dec
2007
6 Dec
'07
4:43 a.m.
Is it already a known problem that the preprocessor cannot cope with the whole set of possible string declarations? $ cat long1.hs {-# OPTIONS -cpp #-} s = "abc\ \defg" main = putStrLn s $ ghc long1.hs long1.hs:3:14: lexical error in string/character literal at character 'e' $ cat long2.hs s = "abc\ \defg" main = putStrLn s $ ghc long2.hs $ a.out abcdefg