[Haskell-cafe] Coroutines

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Dec 18 12:51:19 EST 2008

Hello Brandon,

Thursday, December 18, 2008, 7:05:05 PM, you 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.

iterators are not cycles :)  they allow to return value without
returning control

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list