Improving (foreach) ranges
Robert Jacques
sandford at jhu.edu
Thu Jun 9 18:15:42 PDT 2011
On Thu, 09 Jun 2011 19:58:34 -0400, Andrej Mitrovic
<andrej.mitrovich at gmail.com> wrote:
> Yeah there was a big discussion about this IIRC. I can't recall the
> exact link to the topic, sorry.
I know one of them was during tuple discussions. i.e. to use a..b..c
instead of (a,b,c) The principal rational was a) '(,)' already has other
meanings in D and b) '..' would allow for multi-dimensional slicing. But
people felt this was ugly.
And the multi-dimensional slicing discussions tend to advocate mapping
a..b to [a,b].
More information about the Digitalmars-d
mailing list