On 25 February 2011 20:38, <mo...@deepbondi.net> wrote: > The short version is that I think there is a more enlightening view of > iteratees than as a kind of a fold. For me, it makes a lot more sense to > think of them as operations in a particular abstract monad which has one > associated operation, a blocking read. Under that view, it is also very > easy to extend them in arbitrary directions, such as adding support for > incremental output.
There was a thread on Haskell-cafe a while ago noting some similarity between the iteratees and the resumption monad. http://www.haskell.org/pipermail/haskell-cafe/2010-August/082533.html Note the archives indexing is a little disjointed. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe