[Haskell-cafe] Coroutines

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Dec 18 11:05:05 EST 2008


On 2008 Dec 18, at 5:47, Bulat Ziganshin wrote:
> ruby doesn't support coroutines, but only iterators (where control
> moved from caller to callee). usually control is on the caller side,
> and coroutines gives control to both (or many) sides

Right, and you don't normally do iterators in Haskell; you do map/fmap.

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list