Why is there no range iteration with index by the language?

Q. Schroll qs.il.paperinik at gmail.com
Wed Jun 10 01:35:32 UTC 2020


On Wednesday, 10 June 2020 at 00:53:30 UTC, Seb wrote:
> It's a bit more complicated though as you need to avoid subtle 
> breakage with ranges that return tuples that are auto-expanded 
> like e.g. `foreach (k,v; myDict)`.

Okay, I can accept that. It's a poor decision, but well, it is 
what it is.

> Anyhow, I would be highly in favor of DMD doing this. It's one 
> of those many things that I have on my list for D3 or a D fork.

Is there any "official" or at least public list for D3 
suggestions?
Many people here talk about it recently...


More information about the Digitalmars-d-learn mailing list