[swift-evolution] [SHORT Review] SE-0132: Rationalizing Sequence end-operation names
me at benrimmington.com
Tue Jul 26 18:29:30 CDT 2016
> On 26 Jul 2016, at 16:15, Dave Abrahams wrote:
>>> b. they are given a recognizable domain-specific notation such as:
>> Does $ represent the start, the end, or either one depending on which
>> side of the range we're on? Because if it's the third option, I think
>> these two operations are actually inverted: the first is removing
>> everything *except* the `prefix(n)`, and the second is removing
>> everything except the `suffix(n)`.
> Wow, that was impressive! With one stroke, you have just convinced me
> that we can't do this. The fact that I got it wrong, along with other
> excellent feedback in this thread, kills my interest in using $ in this
This would also conflict with one of the following:
1. Allowing `$` for the Dollar library.
2. Reserving `$` for the debugger.
(The latter "test and merge" is failing for some reason).
More information about the swift-evolution