Actually I had already modified the initial proposal to introduce those new subscripts methods.
It is here now: (any help to improve that is very welcome) https://github.com/luish/swift-evolution/blob/safer-collection-subscripts/proposals/nnnn-safer-collections-subscript-methods.md As the motivation and *problem* addressed remain the same, should I really create a new thread? Best regards, - Luis On Wed, Apr 27, 2016 at 12:17 PM, Maximilian Hünenberger < [email protected]> wrote: > Do you change the proposal to introduce new (default) subscripts to > CollectionType/ RangeReplacableCollectionType? > > subscript(safe index: Index) -> Element? > subscript(truncate range: Range<Index>) -> SubSequence > > Maybe a new proposal would be appropriate (and a new thread). > > Best regards > - Maximilian
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
