[Haskell-cafe] Multi Line String literals

Neil Mitchell ndmitchell at gmail.com
Thu Apr 26 09:13:51 EDT 2007


Hi

> How does
>
> test  = putStr "I\n\
>                \need\n\
>                \multiline\n\
>                \string\n\
>                \literals\n"
>
> look?

Like the cpp will choke and die :) Multiline string literals were one
of the motivations for cpphs.

Thanks

Neil


More information about the Haskell-Cafe mailing list