[swift-evolution] [Pitch] Several improvements points about extension and typealias
Robert Widmann
devteam.codafi at gmail.com
Wed Oct 5 10:07:51 CDT 2016
~Robert Widmann
2016/10/05 11:00、Cao, Jiannan via swift-evolution <swift-evolution at swift.org> のメッセージ:
> 1. Allow extension specific dictionary
> e.g.
> extension Dictionary where Key == String, Value == String
> or
> extension Dictionary<String, String>
>
This was just committed by Slava yesterday.
> 2. Allow extending Equatable internally
> currently any type extend to Equatable should make theme public
"Hidden Conformances" are discussed in the generics manifesto.
>
> 3. Allow internal typealias for a public type
> this internal typealias will only can be used in that package.
Interesting idea.
>
> Thanks
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161005/2917b68e/attachment.html>
More information about the swift-evolution
mailing list