[swift-evolution] Introduce "associated_type" keyword
Thorsten Seitz
thorsten.seitz at web.de
Sun Dec 6 07:51:36 CST 2015
Why not just „type“?
protocol Foo {
type T
}
-Thorsten
> Am 06.12.2015 um 02:46 schrieb Austin Zheng via swift-evolution <swift-evolution at swift.org>:
>
> 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
>
> _______________________________________________
> 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