<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Concerning generic typealiases, the topic is already being discussed in „Generic `typealias`s” thread:&nbsp;<a href="https://lists.swift.org/pipermail/swift-evolution/2015-December/000132.html">https://lists.swift.org/pipermail/swift-evolution/2015-December/000132.html</a>. The core Swift team approves:</div><div id="bloop_sign_1449489099373719808" class="bloop_sign"><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">&gt;&nbsp;<span style="white-space: pre-wrap;">Yes, this is definitely something that I (at least) would like to see.  Patches welcome :-)</span></div><div id="bloop_customfont" style="margin: 0px;">&gt; Chris (Lattner)</div><div id="bloop_customfont" style="margin: 0px;"><br></div><div id="bloop_customfont" style="margin: 0px;">All the best,</div><div>Krzysztof</div><div><br></div></div><p class="airmail_on">On 7 December 2015 at 12:41:05, Tuur Anton via swift-evolution (<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div></div><div>




<title></title>


<div>Can you please add these features in Swift 3?</div>
<div><br></div>
<div>1. The ability to do this:</div>
<div>extension Array&lt;Double&gt; {</div>
<div>&nbsp; &nbsp; //extend arrays of doubles</div>
<div>}</div>
<div><br></div>
<div>2. Generic typealiases:</div>
<div>struct Foo&lt;T,V&gt; {</div>
<div>&nbsp; &nbsp; let t: T</div>
<div>&nbsp; &nbsp; let v: V</div>
<div>}</div>
<div>typealias IntFoo&lt;V&gt; = Foo&lt;Int,V&gt; //Error in Swift
2.1</div>
<img src="https://u2002410.ct.sendgrid.net/wf/open?upn=07Gw-2BHYt-2F8PHoGiImISMGgoJA8YAyCkVdtiMuRGm10FHsuRRL5GzVAzZbDMNWwmtHrIpq77gEAQcWx0IK2x43mPjba2hnvOf8-2BH-2B-2F3GoCCmPPxbWU2xBtN02MzLZxTlEQnC3MVxbjq05bs2XZTAgCas7EUiABkkSg5PpUAvEQl4jV6fn2AMnrs3zDX9JkBRJDLElNULXHdURZFmTIAx00Q-2FMFQxc-2FR4U3aKPyp-2B5mnA-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;">


_______________________________________________<br>swift-evolution mailing list<br>swift-evolution@swift.org<br>https://lists.swift.org/mailman/listinfo/swift-evolution<br></div></div></span></blockquote></body></html>