array slicing currently does not support steps?

mw mingwu at
Tue Aug 4 00:03:16 UTC 2020

On Monday, 3 August 2020 at 23:50:45 UTC, Paul Backus wrote:
> On Monday, 3 August 2020 at 23:32:29 UTC, mw wrote:
>> Hi,
>> I just noted that D array slice does not support steps?
> You can use std.range.stride for this:

OK, good to know.

But if it's built into the language syntax (as extended array 
slicing), it will be better: more succinct, and much easier for 
Python programmers to adopt D.

More information about the Digitalmars-d mailing list