shouldn't this throw ? iota(5).sliced(2,2)
Timothee Cour via Digitalmars-d
digitalmars-d at puremagic.com
Wed Jan 6 20:47:16 PST 2016
what's the rationale for:
Range length must be greater than or equal to the sum of shift and the
product of lengths
instead of:
Range length must be equal to the sum of shift and the product of lengths
?
It seems more lax and bug-prone.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20160106/12c66438/attachment.html>
More information about the Digitalmars-d
mailing list