Skip to content

Comment on Maybe Everything Is a Coroutine

Comments

Isn't this just iteratees? The examples look very similar to conduit code, unless I'm missing something.

Iteratees are a subset. They don't care about any kind of effects except for processing the data (and indicating the current state of how the process is going).

They are deliberately simple and for dataprocessing. They not meant/suitable for things like e.g. IO whereas the continuation monad is.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.