On Thursday, 26 June 2014 at 10:38:54 UTC, bearophile wrote:
For people that are not following closely what's happening in GitHub, there are some nice or very nice patches waiting to be fixed and/or accepted

I'm pretty biased, but am quite excited about:

https://github.com/D-Programming-Language/phobos/pull/1910

Which allows:

void main() {
     auto r = new Generator!string({
         yield("the");
         yield("quick");
         yield("brown");
         yield("fox");
     });

     foreach (e; r) {
         writeln(e);
     }
}

Reply via email to