As I understand, currently Range <start> can not be greater than <end>. So
we just can't use 0..<-2. And I don't think we should implement such thing
as it is not very explicit about what we are expecting.
On 14.04.2016 0:29, Dave Abrahams via swift-evolution wrote:
That approach makes sense too. But then do we add
x[python: 0..<-2] // all but the last two elements?
;^)
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution