[Haskell-cafe] Fun with the ST monad
stephen.tetley at gmail.com
Sat Feb 26 00:00:21 CET 2011
On 25 February 2011 20:38, <mokus at 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.
Note the archives indexing is a little disjointed.
More information about the Haskell-Cafe