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?
On Sun, Jul 24, 2011 at 12:28 PM, Yves Parès <limestrael@gmail.com> wrote:It gets arbitrary blocks of text and outputs lines of text.
> If you used Data.Enumerator.Text, you would maybe benefit the "lines"
> function:
>
> lines :: Monad m => Enumeratee Text Text m b
Lists of lines of text?
> But there is something I don't get with that signature:
> why isn't it:
> lines :: Monad m => Enumeratee Text [Text] m b
> ??
Cheers, =)
--
Felipe.