Talk:Generator (computer programming): Difference between revisions

Content deleted Content added
m Generator in Ruby: add "once"
Generator in Ruby: coroutines?
Line 149:
</blockquote>
: --[[User:Piet Delport|Piet Delport]] 12:28, 30 August 2006 (UTC)
 
:: Iterators, generators and coroutines seem to be related but different. The [[coroutine]] article mentions: "Coroutines in which subsequent calls yield additional results are often known as generators." Is that the right way to define what a generator is? The article also has a link to a Japanese page about coroutines in Ruby. --[[User:TuukkaH|TuukkaH]] 13:55, 30 August 2006 (UTC)