Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-07-02 Thread Dave Abrahams via swift-evolution
Hi Karl, It was pointed out to me that I never answered this thoughtful post of yours... on Mon Jun 26 2017, Karl Wagner wrote: >> On 23. Jun 2017, at 02:59, Kevin Ballard via swift-evolution >> wrote: >> >>

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-27 Thread Dave Abrahams via swift-evolution
on Thu Jun 22 2017, Kevin Ballard wrote: >> https://github.com/apple/swift-evolution/blob/master/proposals/0180-string-index-overhaul.md > Given the discussion in the original thread about potentially having > Strings backed by something other than utf16 code units,

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-27 Thread Drew Crawford via swift-evolution
On June 26, 2017 at 5:43:42 PM, Karl Wagner via swift-evolution (swift-evolution@swift.org) wrote: I would support a definition of encodedOffset that removed mention of UTF-16 and phrased things in terms of String.Encoding and code-units. For example, I would like to be able to construct

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-26 Thread Karl Wagner via swift-evolution
> On 23. Jun 2017, at 02:59, Kevin Ballard via swift-evolution > wrote: > > https://github.com/apple/swift-evolution/blob/master/proposals/0180-string-index-overhaul.md > >

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-26 Thread Jordan Rose via swift-evolution
> On Jun 22, 2017, at 17:10, Ted Kremenek wrote: > > Proposal Link: > https://github.com/apple/swift-evolution/blob/master/proposals/0180-string-index-overhaul.md > > > > The

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-26 Thread Jordan Rose via swift-evolution
Accidentally hit send! Sorry everyone. Here's what I was originally looking for: a diff between the old and new revisions of the proposal: https://github.com/apple/swift-evolution/commit/0d163c941261b6d16d1adfdc3212e8d3a15a3a73#diff-6034851c9ada9528665f7555a93537a8

Re: [swift-evolution] [swift-evolution-announce] [Revised and review extended] SE-0180 - String Index Overhaul

2017-06-22 Thread Kevin Ballard via swift-evolution
> https://github.com/apple/swift-evolution/blob/master/proposals/0180-string-index-overhaul.md Given the discussion in the original thread about potentially having Strings backed by something other than utf16 code units, I'm somewhat concerned about having this kind of vague `encodedOffset` that