On Mon, Jan 2, 2012 at 10:12 AM, max <m...@mtw.ru> wrote:
> This is the simplest solution of the proposed, in my opinion. Thank you
> very much.

Better yet, don't use String and use Text.  Then you just need
T.splitOn "\r\n" [1].

Cheers,

[1] 
http://hackage.haskell.org/packages/archive/text/0.11.1.12/doc/html/Data-Text.html#v:splitOn

-- 
Felipe.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to