
18 Dec
2008
18 Dec
'08
12:51 p.m.
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@gmail.com