February 28, 2013
Jonathan M Davis:

> Because then it more closely matches how arrays work. The only part that
> doesn't is that it's fully tied to -release rather than -noboundschecked.

I see, thank you.


> Honestly, I think that that's a complete pipe dream anyway,

I will keep dreaming for some more decades. In technology progress comes from dreamers that have the skills to create things like the Whiley (http://whiley.org/ ) language.

Bye,
bearophile
February 28, 2013
On Wednesday, 27 February 2013 at 23:43:49 UTC, bearophile wrote:
> void main() {
>     auto a = [0,1,2,3,4,5,6,7,8,9][5 .. 2];
> }

I tried it too, hoping for something like
[5,4,3]

or at least
[4,3,2] (== [0,1,2,3,4,5,6,7,8,9][2..5].reverse)

1 2
Next ›   Last »