From: Bulat Ziganshin Date: 2003-01-24T20:29:11+09:00 Subject: Re: Definition: iterator Hello Martin, Thursday, January 23, 2003, 3:02:10 AM, you wrote: >> I do wish we had a name for "methods that >> call yield." In Ruby we've traditionally >> called them "iterators" (witness the >> iterator? method as David pointed out). MD> Hm - something involving the phrase 'coroutines', perhaps. What's the MD> singular of coroutines? technically speaking, it's a higher-order function, or functional it's not coroutine, because 1) we can call block several times 2) we can't return control from middle of block -- Best regards, Bulat mailto:bulatz@integ.ru