[swift-evolution] [Pitch] Several improvements points about extension and typealias

frogcjn at 163.com frogcjn at 163.com
Wed Oct 5 10:00:23 CDT 2016


1. Allow extension specific dictionary
e.g.
extension Dictionary where Key == String, Value == String
or
extension Dictionary<String, String>

2. Allow extending Equatable internally
currently any type extend to Equatable should make theme public

3. Allow internal typealias for a public type
this internal typealias will only can be used in that package.

Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20161005/984349e2/attachment.html>


More information about the swift-evolution mailing list