1. Your method doesn't preserve the line-breaks within the resulting string.
2. Surrounding each line with special chars is actually what I want to avoid.
What I'm looking for is something similar to Perl's << and PHP's <<< operator.
-Stefan
Ferenc Wagner wrote:
Stefan Reich <[EMAIL PROTECTED]> writes:
multilineLiteral = " line1 line2"
Use string gaps (see 2.6 in the Report):
multilineLiteral = "\ \ line1\n\ \ line2"
_______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users