Extended Grapheme Cluster (Swift's Character): Naming unclear, maybe Char or Character
All of those types should allow construction via "text" literals (see #126). E.g. Text."test", Char."ä", Scalar."ä".
What about normalization? Swift automatically normalizes (literals, any string, …?).
Provide types for UTF-8 encoded strings (currently named
Text
), strings in the ASCII range (Byte-String
maybe) and several “character”-like entities:Char
! (Rust's overloadedu8
), maybeByte-Character
char
, Swift'sUnicode.Scalar
): Naming unclearCharacter
): Naming unclear, maybeChar
orCharacter
All of those types should allow construction via "text" literals (see #126). E.g.
Text."test"
,Char."ä"
,Scalar."ä"
. What about normalization? Swift automatically normalizes (literals, any string, …?).