On Sep 28, 2016, at 6:14 PM, Ben Rimmington <m...@benrimmington.com> wrote:
> 
> 
>> On 28 Sep 2016, at 22:27, Erica Sadun wrote:
>> 
>> Why not rename `CharacterSet` to `UnicodeScalarSe`t, and update the 
>> initializers
>> to reflect they're being initialized from the unicode scalars in strings and 
>> ranges?
> 
> I agree, but `UnicodeScalarSet` was rejected during the SE-0069 discussion:
> 
> <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160425/015685.html>
> 
> -- Ben
> 

D'erp. I missed that. And that's an unambiguous answer.

So let me move on to part B of the pitch: I think CharacterSets are broken.

> Xiaodi Wu: "isn't the problem you're presenting really an argument that the 
> type should be fleshed out to handle characters (grapheme clusters) 
> containing more than one Unicode scalar?"

-- E
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to