[Haskell-cafe] understanding enumerator/iteratee

Jason Dusek jason.dusek at gmail.com
Tue Dec 23 16:39:53 EST 2008

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

Jason Dusek

More information about the Haskell-Cafe mailing list