> On Dec 29, 2015, at 8:06 AM, Wallacy via swift-evolution 
> <swift-evolution@swift.org> wrote:
> 
> I believe that the current behavior was thought when Slices had indices 
> starting with zero.

The current behavior was intentional (and intentionally left as-is when array 
slices changed); indices are not integers for all collections, and there are 
many ways to get the indices with the elements, including zip(x.indices, x)

-Dave

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to