On Mon, Jan 2, 2012 at 5:52 PM, Felipe Almeida Lessa
<[email protected]> wrote:
> On Mon, Jan 2, 2012 at 10:12 AM, max <[email protected]> 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].

That is actually the opposite of what the OP wants, however it's
interesting that Text has a function like that and not the String
functions in the standard
library.

-- Anupam

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to