> In fact why not just use the generics syntax with protocols ? Anybody > implementing a "Generic" Protocol has to specify the types. That's a simple solution, but inconvenient: One use case for placeholders (I don't use the official name here to propagate an alternative ;-) is when you have a types that depend on a parameter. I'm to lazy to look up a real example, but Array<Int> is naturally associated with an enumerator for Int — and it is no fun to be forced to include such relationships all over the place. _______________________________________________ swift-evolution mailing list swift-evolution@swift.org https://lists.swift.org/mailman/listinfo/swift-evolution
Re: [swift-evolution] [SE-0011] Re-considering the replacement keyword for "typealias"
Tino Heth via swift-evolution Wed, 23 Dec 2015 04:18:13 -0800
- Re: [swift-evolution] [SE-0011] Re-... Guillaume Lessard via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Matt Whiteside via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Brent Royal-Gordon via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Matt Whiteside via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Tino Heth via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Brent Royal-Gordon via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Tino Heth via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Tino Heth via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Chris Lattner via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Paul Cantrell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Erica Sadun via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Chris Lattner via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Matthew Johnson via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... Jordan Rose via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution
- Re: [swift-evolution] [SE-0011] Re-... James Campbell via swift-evolution