> On May 10, 2017, at 4:51 PM, Ben Cohen via swift-evolution > <[email protected]> wrote: > > Add a unicodeScalars property to Character, presending a lazy view of the > scalars in the character, along similar lines to the one on String. > >
Might it make sense conform `Character` itself to `Collection`, rather than using a view? Otherwise, I'm in favor. (Though it'd be nice to have *some* way to manipulate the `UnicodeScalar`s inside a `Character`, even if `RangeReplaceableCollection`'s interface would make preserving its invariants too difficult. That could wait, though.) -- Brent Royal-Gordon Architechies
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
