[Haskell-cafe] multi-line strings (Was: Hackage on Linux)
mail at joachim-breitner.de
Sat Aug 28 06:55:07 EDT 2010
Am Samstag, den 28.08.2010, 08:18 +1000 schrieb Ivan Lazar Miljenovic:
> On 28 August 2010 00:02, Felipe Lessa <felipe.lessa at gmail.com> wrote:
> > On 8/27/10, Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com> wrote:
> >> Admittedly, Haskell has no multi-line
> >> String support which would make defining something like the
> >> "Description" field harder...
> > Quick correction: Haskell *does* have multi-line strings. For example:
> > "This is a\
> > \ nice string"
> I meant in the sense of Python, etc. where you didn't have to insert
> newline characters, etc. in.
A similar problem is solved by
which might be useful if you need to embed larger pieces of text.
Joachim "nomeata" Breitner
mail: mail at joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C
JID: nomeata at joachim-breitner.de | http://www.joachim-breitner.de/
Debian Developer: nomeata at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100828/014b5cdf/attachment-0001.bin
More information about the Haskell-Cafe