<div style="white-space:pre-wrap">In general I&#39;m very positive with the idea of generic protocols. This discussion is more about syntactic sugar, though I really like where it goes.<br><br>Off topic:<br>IMO, we should revisit approaches others already use for conflicts resolution. I personally tend to get something similar to Scala traits. Should fit POT smoothly and naturally.</div><br><div class="gmail_quote"><div dir="ltr">On Sat, 3 Dec 2016 at 16:30 Adrian Zubarev &lt;<a href="mailto:adrian.zubarev@devandartist.com">adrian.zubarev@devandartist.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg"><div class="m_6921161786416199282bloop_markdown gmail_msg"><p class="gmail_msg">If I’m not mistaken here, <code class="gmail_msg">extension Foo where T == Int</code> will have an error of redeclaration <code class="gmail_msg">foo</code> anyways.</p>

<p class="gmail_msg"></p></div><div class="m_6921161786416199282bloop_original_html gmail_msg"></div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="m_6921161786416199282bloop_original_html gmail_msg"><div id="m_6921161786416199282bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto" class="gmail_msg"><br class="gmail_msg"></div> <div id="m_6921161786416199282bloop_sign_1480775153794472960" class="m_6921161786416199282bloop_sign gmail_msg"><div style="font-family:helvetica,arial;font-size:13px" class="gmail_msg">-- <br class="gmail_msg">Adrian Zubarev<br class="gmail_msg">Sent with Airmail</div></div> <br class="gmail_msg"></div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="m_6921161786416199282bloop_original_html gmail_msg"><p class="m_6921161786416199282airmail_on gmail_msg">Am 3. Dezember 2016 um 15:22:56, Adrian Zubarev (<a href="mailto:adrian.zubarev@devandartist.com" class="gmail_msg" target="_blank">adrian.zubarev@devandartist.com</a>) schrieb:</p> <blockquote type="cite" class="m_6921161786416199282clean_bq gmail_msg"><span class="gmail_msg"><div class="gmail_msg"><pre style="margin:15px 0px;font-family:Menlo,Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:10pt;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgb(248,248,248);color:rgb(0,0,0);border:1px solid rgb(204,204,204);overflow:auto;padding:4px 8px;word-break:normal;word-wrap:normal;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px" class="gmail_msg"><code class="m_6921161786416199282swift gmail_msg" style="font-family:Menlo,Consolas,&#39;Liberation Mono&#39;,Courier,monospace;font-size:10pt;border-top-left-radius:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;border-bottom-left-radius:3px;background-color:rgb(248,248,248);color:inherit;border:0px;margin:0px;padding:0px;word-break:normal;word-wrap:normal">extension Foo where T == Int {
     func foo() {
          self.bar(o: 42) // calls a function that accepts an Int
     }
}</code></pre></div></span></blockquote></div></div></blockquote></div>