> 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?

Just to clarify, this is actually illegal syntax according to Haskell
98, so it is now disallowed.  Use string gaps and explicit \n characters
in string literals.

Cheers,
        Simon
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to