[Haskell-cafe] multi-line strings (Was: Hackage on Linux)
Hi, Am Samstag, den 28.08.2010, 08:18 +1000 schrieb Ivan Lazar Miljenovic: On 28 August 2010 00:02, Felipe Lessa felipe.le...@gmail.com wrote: On 8/27/10, Ivan Lazar Miljenovic ivan.miljeno...@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 http://github.com/jgm/hsb2hs which might be useful if you need to embed larger pieces of text. Greetings, Joachim -- Joachim nomeata Breitner mail: m...@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nome...@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nome...@debian.org signature.asc Description: This is a digitally signed message part ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] multi-line strings (Was: Hackage on Linux)
On 28 August 2010 20:55, Joachim Breitner m...@joachim-breitner.de wrote: Hi, Am Samstag, den 28.08.2010, 08:18 +1000 schrieb Ivan Lazar Miljenovic: On 28 August 2010 00:02, Felipe Lessa felipe.le...@gmail.com wrote: On 8/27/10, Ivan Lazar Miljenovic ivan.miljeno...@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 http://github.com/jgm/hsb2hs which might be useful if you need to embed larger pieces of text. Huh, very nice; thanks for the link. Unfortunately, it doesn't look like John has released a version on Hackage yet :( Then again, the first commit on github was the beginning of this month... -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] multi-line strings (Was: Hackage on Linux)
Hi, Am Samstag, den 28.08.2010, 21:11 +1000 schrieb Ivan Lazar Miljenovic: A similar problem is solved by http://github.com/jgm/hsb2hs which might be useful if you need to embed larger pieces of text. Huh, very nice; thanks for the link. Unfortunately, it doesn't look like John has released a version on Hackage yet :( Then again, the first commit on github was the beginning of this month... probably won’t happen, unless someone steps up as a maintainer (you?): http://www.haskell.org/pipermail/haskell-cafe/2010-August/081398.html Hmm, now that I look at the thread, you took part in it (when the discussion turned to TH on different arches) :-) Greetings, Joachim -- Joachim nomeata Breitner mail: m...@joachim-breitner.de | ICQ# 74513189 | GPG-Key: 4743206C JID: nome...@joachim-breitner.de | http://www.joachim-breitner.de/ Debian Developer: nome...@debian.org signature.asc Description: This is a digitally signed message part ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] multi-line strings (Was: Hackage on Linux)
On 28 August 2010 21:33, Joachim Breitner m...@joachim-breitner.de wrote: Hi, Am Samstag, den 28.08.2010, 21:11 +1000 schrieb Ivan Lazar Miljenovic: A similar problem is solved by http://github.com/jgm/hsb2hs which might be useful if you need to embed larger pieces of text. Huh, very nice; thanks for the link. Unfortunately, it doesn't look like John has released a version on Hackage yet :( Then again, the first commit on github was the beginning of this month... probably won’t happen, unless someone steps up as a maintainer (you?): http://www.haskell.org/pipermail/haskell-cafe/2010-August/081398.html Hmm, now that I look at the thread, you took part in it (when the discussion turned to TH on different arches) :-) Huh, that goes to show how many mailing list messages there are that I forgot about that thread ;-) I'd be willing to take over maintainership except I have about 3 different libraries I'm working on that need a lot of TLC, and I don't really have a use case for hsb2hs (I don't do that much with Strings). -- Ivan Lazar Miljenovic ivan.miljeno...@gmail.com IvanMiljenovic.wordpress.com ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe