Sorry, I'm only beginning to understand iteratees, but then how do you access each line of text output by the enumeratee "lines" within an iteratee?<br><br><div class="gmail_quote">2011/7/24 Felipe Almeida Lessa <span dir="ltr"><<a href="mailto:felipe.lessa@gmail.com">felipe.lessa@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Sun, Jul 24, 2011 at 12:28 PM, Yves Parès <<a href="mailto:limestrael@gmail.com">limestrael@gmail.com</a>> wrote:<br>
> If you used Data.Enumerator.Text, you would maybe benefit the "lines"<br>
> function:<br>
><br>
> lines :: Monad m => Enumeratee Text Text m b<br>
<br>
</div>It gets arbitrary blocks of text and outputs lines of text.<br>
<div class="im"><br>
> But there is something I don't get with that signature:<br>
> why isn't it:<br>
> lines :: Monad m => Enumeratee Text [Text] m b<br>
> ??<br>
<br>
</div>Lists of lines of text?<br>
<br>
Cheers, =)<br>
<br>
--<br>
<font color="#888888">Felipe.<br>
</font></blockquote></div><br>