[swift-evolution] [Review] SE-0081: Move where clause to end of declaration

Matt Whiteside mwhiteside.dev at gmail.com
Wed May 11 08:30:47 CDT 2016


+1, I like this one a lot.

-Matt

> On May 10, 2016, at 21:25, David Waite via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> 	https://github.com/apple/swift-evolution/blob/master/proposals/0081-move-where-expression.md
>> 
>> 	* What is your evaluation of the proposal?
> +1, I like the syntax and think it can clean up some parser ambiguities.
> 
> 
> Today, there are several formats using angle brackets:
> - a parameter declaration as an ordered dictionary of names to type or type-decensent restrictions (or Any if not specified)
> - an argument declaration as an ordered list of concrete types
> - an unordered list of required protocol conformances
> 
> Eliminating the where clause sometimes available in parameter declarations simplifies understanding the generic syntaxes.
> 
>> 	* Is the problem being addressed significant enough to warrant a change to Swift?
> Yes
> 
>> 	* Does this proposal fit well with the feel and direction of Swift?
> 
> Yes, although I don’t know how it evaluates against possible future syntax for the generics manifesto feature lists
> 
>> 	* 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?
> Followed discussion
> 
> -DW
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution



More information about the swift-evolution mailing list