> Aren't protocols generic already using associatedtype?
Not really:
Take a look at (for example) AnyIterator… this whole layer of indirection could 
be removed with the requested change.
You can declare a protocol that generates Ints, Strings or whatever you like — 
just not in a generic way, and that's a pity.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to