<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Jul 2016, at 20:23, 4 bottiglie g via swift-dev &lt;<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, i have asked the same question :<div class="">Here:&nbsp;<a href="https://forums.developer.apple.com/message/153781#153781" class="">https://forums.developer.apple.com/message/153781#153781</a></div><div class="">And here :&nbsp;<a href="http://stackoverflow.com/questions/38281800/array-with-associatedtype-protocol" class="">http://stackoverflow.com/questions/38281800/array-with-associatedtype-protocol</a></div><div class=""><br class=""></div><div class="">But it seams like swift doesn’t have generic protocols arrays. I am asking here as a last resource if it can be done yet or there is a better design.&nbsp;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards,&nbsp;</div></div>_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""><div class=""><br class=""></div><div class="">I believe it's on the roadmap, but won’t make Swift 3.</div><div class=""><br class=""></div><div class="">See the Generics Manifesto:&nbsp;<a href="https://github.com/apple/swift/blob/master/docs/GenericsManifesto.md" class="">https://github.com/apple/swift/blob/master/docs/GenericsManifesto.md</a></div><div class=""><br class=""></div><div class="">When I read it before, I seem to remember it explicitly called out having an Array of Equatable as an example of something which should be allowed. I can’t see it there now, but I think it’s still the intention that it works some day.</div><div class=""><br class=""></div><div class="">Karl</div></body></html>