Python's features, which requires D

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat May 23 15:02:51 PDT 2015


On Saturday, 23 May 2015 at 21:09:45 UTC, weaselcat wrote:
> After another review, I think some of these conversions to D 
> could be expressed much easier if the built-in slice had 
> multidimensional slicing
>
> It was added in 2.066* but I don't think there's any plans to 
> add support for it to slices.

Actually not a bad idea: add to Phobos module std.multiarray.

> * - you can see an example at 
> http://denis-sh.bitbucket.org/unstandard/unstd.multidimarray.html

Embed multidimensional slices directly into the language is not
very good, but in a separate module, why not...


More information about the Digitalmars-d-learn mailing list