> On Mar 16, 2016, at 10:55 AM, Chris Lattner via swift-evolution > <[email protected]> wrote: > > The review of “Declare variables in 'case' labels with multiple patterns” > begins now and runs through March 21, 2016. The proposal is available here: > > > https://github.com/apple/swift-evolution/blob/master/proposals/0043-declare-variables-in-case-labels-with-multiple-patterns.md > > <https://github.com/apple/swift-evolution/blob/master/proposals/0043-declare-variables-in-case-labels-with-multiple-patterns.md> > > • What is your evaluation of the proposal?
+1! > • Is the problem being addressed significant enough to warrant a change > to Swift? Absolutely. The lack of this feature causes a lot of extra boilerplate or workarounds when dealing with enums. > • Does this proposal fit well with the feel and direction of Swift? Yes. I was surprised the language didn’t already include it. It seems natural. > • If you have used other languages or libraries with a similar feature, > how do you feel that this proposal compares to those? I’ve used pattern matching in Haskell quite a bit and this Swift feature serves the same purpose and is really almost a necessary removal of a pattern matching limitation. > • How much effort did you put into your review? A glance, a quick > reading, or an in-depth study? I spent enough effort on it to implement most of it in the compiler. :-) > More information about the Swift evolution process is available at: > > https://github.com/apple/swift-evolution/blob/master/process.md > <https://github.com/apple/swift-evolution/blob/master/process.md> > > Thank you, > > -Chris > Review Manager > _______________________________________________ > 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
