[swift-evolution] [swift-evolution-announce] [Returned for revision] SE-0089: Renaming String.init<T>(_: T)
brent at architechies.com
Sun Jun 5 06:05:00 CDT 2016
> To answer my own question, relooking at the proposal, RawRepresentable wouldn’t be suitable for Bool, Character, UnicodeScalar, Integer, etc.
>> On 5 Jun 2016, at 7:20 PM, Patrick Smith <pgwsmith at gmail.com> wrote:
>> (This raises a point — what’s the difference between the proposed LosslessStringConvertible and RawRepresentable where RawValue = String? They both have a failable init. Is it due to current limitations with typealiases that makes this hard?)
I would add that RawRepresentable does not promise the representation is human-readable.
More information about the swift-evolution