[Haskell-cafe] understanding enumerator/iteratee

Henning Thielemann schlepptop at henning-thielemann.de
Tue Dec 23 22:32:15 EST 2008

Jason Dusek schrieb:
> Henning Thielemann <schlepptop at henning-thielemann.de> wrote:
>> Jason Dusek schrieb:
>>> I'm taking a stab at composable streams, starting with
>>> cursors. I managed to make a derived cursor today -- as I
>>> work through this stuff, I hope to understand
>>> Iteratee/Enumerator better.
>> How about a wiki page on the roles of enumerators and
>> iteratees, best explained using a simple example?
>   At present, I am not totally convinced of Iteratee/Enumerator.
>   Why aren't there any functor instances anywhere? Why do
>   filestreams and lists present distinct interfaces? A stream
>   computation is a stream computation; the effect of pulling an
>   item off the stream and handling it is sequenced in these
>   computations so it seems like a monad transformer is in order.
>   So I am just going to keep trying until I can make that
>   transformer.

I have put essentially Oleg's explanation to the Wiki:

More information about the Haskell-Cafe mailing list