Seems totally fair to add if someone wants to devote the time and effort to
implement it, but also easily worked around for the moment and therefore
(IMO) not a pressing issue.


On Sun, Jan 29, 2017 at 3:03 PM, Matt Whiteside via swift-evolution <
[email protected]> wrote:

> In Swift 3.1, I was happy to see that we can now extend types with
> concrete constraints.  I think one other feature which fits nicely with
> this new capability would be extending typealiases, like this:
>
> *typealias Vector = Array<Float>*
>
> *extension Vector {*
> *   ...*
> *}*
>
> Which currently doesn't compile due to:  "Constrained extension must be
> declared on the unspecialized generic type 'Array' with constraints
> specified by a 'where’ clause”
>
> What is other people’s interest level?  How possible would it be to add
> this?
>
> -Matt
>
>
>
>
> _______________________________________________
> swift-evolution mailing list
> [email protected]
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
>
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to