[swift-evolution] Pitch: Renaming CharacterSet to UnicodeScalarSet
Erica Sadun
erica at ericasadun.com
Wed Sep 28 18:06:25 CDT 2016
On Sep 28, 2016, at 3:58 PM, Xiaodi Wu <xiaodi.wu at gmail.com> wrote:
>
> Is this really correct? Character and UnicodeScalar are not synonyms. The Character type represents a character made up of one or more Unicode scalars (i.e. an extended grapheme cluster). Is a CharacterSet a set of Unicode-compliant characters that happens to be restricted to those characters each made up of only a single Unicode scalar, or is it meant to be a set of Unicode scalars? My read of the Foundation documentation is that it is the former.
http://i.imgur.com/h6W5kYc.jpg <http://i.imgur.com/h6W5kYc.jpg>
http://i.imgur.com/q50PSld.jpg <http://i.imgur.com/q50PSld.jpg>
-- E
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160928/b9eefea1/attachment.html>
More information about the swift-evolution
mailing list