[swift-evolution] Introduce "associated_type" keyword

Austin Zheng austinzheng at gmail.com
Sat Dec 5 19:46:52 CST 2015


I like "associated". Or maybe "withtype". Anything clear and without underscore.

protocol Foo {
   associated T
}

protocol Foo {
  withtype T
}

> On Dec 5, 2015, at 5:43 PM, Stephen Celis via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> On Dec 5, 2015, at 8:11 PM, Kevin Lundberg via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> If we must keep this concept, I would prefer something without an underscore for the keyword, like "associatedtype" or perhaps "typeassociation"
> 
> Or merely "associated".
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list