> On Jan 22, 2017, at 15:40, Chris Lattner via swift-evolution > <[email protected]> wrote: > > Right, the only sensible semantics for a one sided range with an open end > point is that it goes to the end of the collection. I see a few different > potential colors to paint this bikeshed with, all of which would have the > semantics āc[i..<c.endIndex]ā: > > 1) Provide "c[i...]": > 2) Provide "c[i..<]": > 3) Provide both "c[i..<]ā and "c[iā¦]":
Agreed on the semantics. I don't suppose "c[i..<_]" is a possible 4th option, is it? Even if it is, I'm not sure it's better than 1-3; just tossing it out there. - Dave Sweeris _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
