> Am 01.02.2017 um 19:37 schrieb Ben Cohen via swift-evolution > <[email protected]>: > > there is a legitimate quibble here that this will translate into > arr[0..<arr.endIndex], but the … kind of implies arr[0…arr.endIndex] which is > invalid. But 0..< is ugly so we should ignore this quibble for the sake of > aesthetics
If we just say that ... implies arr[0...arr.lastIndex] where arr.lastIndex is the last valid index then it is neither ugly nor invalid. -Thorsten _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
