Hacker News new | ask | show | jobs
by WalterBright 1297 days ago
For D it looks like:

    for (thing; things) { ... }
which is rewritten as:

    for (auto r = things; !r.empty; r.popFront) { auto thing = r.front; ... }