<div dir="ltr">I&#39;d like to take a shot at writing such a proposal. At some point improved existential support will need to go through review, so we might as well.<div><br></div><div>Austin</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 17, 2016 at 11:02 AM, Douglas Gregor via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><span class=""><blockquote type="cite"><div>On May 17, 2016, at 10:40 AM, Adrian Zubarev &lt;<a href="mailto:adrian.zubarev@devandartist.com" target="_blank">adrian.zubarev@devandartist.com</a>&gt; wrote:</div><br><div><div style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;margin:0px"><blockquote type="cite"><div style="word-wrap:break-word"><div>You don’t seem to be tackling the case of “A Collection whose Element type is String”. If we’re generalizing the current “protocol&lt;&gt;” notion, why not make it as powerful as a generic signature, with the ability to specify same-type constraints and conformances on associated types?</div><div><br></div>- Doug</div></blockquote><div><div style="word-wrap:break-word"><br></div></div><div style="word-wrap:break-word">Which part of the manifesto did I left out? ^^ Could you provide a quick pseudo code example?</div><div style="word-wrap:break-word"><br></div><div style="word-wrap:break-word">Do you mean something like `Any&lt;Collection where Element == String&gt;`? I’m not sure where I should consider such a scenario, maybe at future directions?</div></div></div></blockquote><div><br></div></span><div>That’s the part I’m referring to, yes. I just realized that your proposal isn’t lifting the restrictions on protocols with Self types or associated types, so my suggestion doesn’t make sense for your proposal without a significant increase in scope.</div><div><br></div><div><span style="white-space:pre-wrap">        </span>- Doug</div><div><br></div></div></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div>