[swift-evolution] [Review] SE-0142: Permit where clauses to constrain associated types
natecook at gmail.com
Sat Sep 24 20:55:20 CDT 2016
> What is your evaluation of the proposal?
[Smiling Face With Heart-Shaped Eyes Emoji]
One of the examples given (associatedtype SubSequence : Sequence where SubSequence...) looks like it would run afoul of the (current?) limitations on recursive protocols. Have those been resolved, or is resolving that part of the work of this change?
Other than that question, I give this the heartiest +1 I can muster!
> Is the problem being addressed significant enough to warrant a change to Swift?
Definitely—this will have significant effects on not only the standard library itself, but also extensions written by developers using Swift.
> Does this proposal fit well with the feel and direction of Swift?
> If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?
> How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
I've read the proposal and wrestled many times with extensions that require several annoyingly unnecessary `where` clauses.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution