Yes, it would really be more consistent. "within" sounds great to me as well, but I don't know if there is a naming convention for it. I am okay to change our proposal to have those labels as two verbs - instead of a preposition and a verb - as suggested by @Brent.
More opinions? - Luis On Thu, May 12, 2016 at 7:25 AM, Brent Royal-Gordon <[email protected]> wrote: > > It sounds good, thanks for you suggestions @Vladimir, @Patrick and > @Brent. > > > > I've just updated the proposal: > > > https://github.com/luish/swift-evolution/blob/more-lenient-subscripts/proposals/nnnn-more-lenient-collections-subscripts.md#detailed-design > > > > - Luis > > Hmm. If you're going with `checking` for one of them, perhaps the other > should be `clamping` (for the analogous method on `Range`, which you might > want to use in the implementation of that subscript). That would create a > nicely matched pair: > > array[checking: 0..<10] > array[clamping: 0..<10] > > -- > Brent Royal-Gordon > Architechies > >
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
