Re: GHC 6.2 breaks multiline string literals

2003-12-26 Thread Ferenc Wagner
Stefan Reich <[EMAIL PROTECTED]> writes: > multilineLiteral = " >line1 >line2" Use string gaps (see 2.6 in the Report): multilineLiteral = "\ \ line1\n\ \ line2" -- Feri. ___ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www

-xc giving very little information

2003-12-26 Thread Stefan Reich
A complex program of mine fails with this message: Fail: Maybe.fromJust: Nothing I tried to extract more information about the error by compiling with -prof -auto-all and running the program with +RTS -xc, as advised on http://www.haskell.org/hawiki/TipsAndTricks . This yielded exactly one ad

GHC 6.2 breaks multiline string literals

2003-12-26 Thread Stefan Reich
This worked in GHC 6.0.1: multilineLiteral = " line1 line2" But doesn't work in GHC 6.2. Is this a bug or rather a bugfix? Anyway, I found it very convenient to embed verbatim string blocks this way. Is there maybe another way to achieve the same thing? Thanks in advance, -Stefan __