[swift-evolution] Proposal: typealias support protocol constraint

QQ Mail 286224043 at qq.com
Sun Dec 6 01:17:34 CST 2015

If typealias support protocol constraint, I think we can reuse a lot of code, also more readable

For Example: 

typealias PointCollection = protocol<T:CollectionType where T.Generator.Element == CGPoint>

public extension PointCollection {

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

More information about the swift-evolution mailing list