Sorry, I&#39;m only beginning to understand iteratees, but then how do you access each line of text output by the enumeratee &quot;lines&quot; within an iteratee?<br><br><div class="gmail_quote">2011/7/24 Felipe Almeida Lessa <span dir="ltr">&lt;<a href="mailto:felipe.lessa@gmail.com">felipe.lessa@gmail.com</a>&gt;</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 &lt;<a href="mailto:limestrael@gmail.com">limestrael@gmail.com</a>&gt; wrote:<br>


&gt; If you used Data.Enumerator.Text, you would maybe benefit the &quot;lines&quot;<br>
&gt; function:<br>
&gt;<br>
&gt; lines :: Monad m =&gt; Enumeratee Text Text m b<br>
<br>
</div>It gets arbitrary blocks of text and outputs lines of text.<br>
<div class="im"><br>
&gt; But there is something I don&#39;t get with that signature:<br>
&gt; why isn&#39;t it:<br>
&gt; lines :: Monad m =&gt; Enumeratee Text [Text] m b<br>
&gt; ??<br>
<br>
</div>Lists of lines of text?<br>
<br>
Cheers, =)<br>
<br>
--<br>
<font color="#888888">Felipe.<br>
</font></blockquote></div><br>