Content deleted Content added
Pi Delport (talk | contribs) →Needs verification: respond to points; suggest mediation |
|||
Line 379:
: Right, the section described an iterator class, not a generator. I removed it. <span style="white-space:nowrap">—[[User:Piet Delport|Piet Delport]] <small>2008-03-18 06:35</small></span>
==D Generators==
In D generators can be done by implementing an opApply function (overload for a 'foreach'). This page shows a good example at the end with primes numbers: [http://the-free-meme.blogspot.com/2009/06/power-of-foreach.html].
Could this page include a D example thanks.
Tim M.
|