On Fri, 27 Jul 2012 11:05:21 -0400 Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote: > > I think it's fair to say yield makes some things easier to do than > ranges, and ranges makes some other things easier to do than yield. > Of course, ideally you'd have both, but for the time being we don't > have yield. >
We have this, which is essentially the same, just not quite as nice syntax ("mixin(yield("blah"));" instead of "yield blah;") http://forum.dlang.org/thread/jno6o5$qtb$1...@digitalmars.com#post-ojeetpvwvzltxwlgphpb:40forum.dlang.org