On Wednesday, 21 March 2018 at 16:19:35 UTC, H. S. Teoh wrote:
[...]
I do not understand the meaning of "subscript ranges"? Isn't this slicing?

AFAICT, "subscript" in the spec just means the range of valid array indices (it's old terminology from the 70's / 80's).

In which case, it is not true that subscript ranges are not accessible in D (I don't know about Rust); all D arrays have indices from 0 to .length-1, so the callee can always access the range of allowed indices, and the caller never has to pass .length explicitly.


T
With this D fulfills, 95% of the "Steelman requirement" partially or better :-)

Reply via email to