On Friday, 27 July 2012 at 15:42:27 UTC, Sean Kelly wrote:
On Jul 27, 2012, at 8:05 AM, Andrei Alexandrescu
<seewebsiteforem...@erdani.org> wrote:
core.thread.Fiber has yield and has been used as the basis for
this style of iterator. See Mikola Lysenko's talk from the D
conference a few years ago.
I think perhaps you are confusing two different meanings of
yield. I am not talking about threading. The VB.NET "yield" and
"iterator" keywords can be used just as well in a single-threaded
application.
http://mattmc3.blogspot.co.uk/2011/04/vbnet-finally-gets-yield-statement.html