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.zigans...@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to