Please respond to that email thread rather than this one. Thank you.

-- E

> On Mar 7, 2017, at 7:25 PM, David Waite <da...@alkaline-solutions.com> wrote:
> 
> I don’t fully understand - are you saying to comment on the gist as if it 
> were a discussion forum?
> 
> -DW
> 
>> On Mar 7, 2017, at 1:25 PM, Erica Sadun via swift-evolution 
>> <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote:
>> 
>> I've put together everything I have about cases and unwrapping here:
>> 
>> https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170306/033588.html
>>  
>> <https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20170306/033588.html>
>> 
>> So please move the discussion there. Thanks! -- E
>> 
>> 
>>> On Mar 6, 2017, at 8:47 PM, T.J. Usiyan <griotsp...@gmail.com 
>>> <mailto:griotsp...@gmail.com>> wrote:
>>> 
>>> I support the first part, removing `case let` in a switch. I actually 
>>> prefer one let out front in many ways but I have a much stronger preference 
>>> for eliminating a 'style' choice that dramatically impacts the 
>>> interpretation of the code. Binding each value is more explicit, so I am 
>>> fine with it winning.
>> 
>> I've broken it down to its own problem/solution
>> 
>>> 
>>> The `if case` stuff… I don't really agree with as much. 
>> 
>> I grant it's one of the things that would have gone down much better way 
>> earlier in Swift's development timeline, but that kept getting pushed 
>> forward again and again.
>> 
>>> 
>>> TJ
>>> 
>>> On Mon, Mar 6, 2017 at 7:35 PM, Erica Sadun via swift-evolution 
>>> <swift-evolution@swift.org <mailto:swift-evolution@swift.org>> wrote:
>>> Bug report filed with warning emitting request: 
>>> 
>>> https://bugs.swift.org/browse/SR-4174 
>>> <https://bugs.swift.org/browse/SR-4174>
>>> 
>>> -- E
>>> 
>>>> On Mar 1, 2017, at 1:58 PM, Pyry Jahkola <pyry.jahk...@iki.fi 
>>>> <mailto:pyry.jahk...@iki.fi>> wrote:
>>>> 
>>>> I guess I should also include the example where the user actually wanted 
>>>> the oldValue to be "x":
>>>> 
>>>>     if case let .two(newValue, value) = example, value == oldValue { ... }
>>>> 
>>>> No surprises there, even if another conditional is required.
>>>> 
>>>> — Pyry
>>> 
>>> 
>>> 
>> 
>> _______________________________________________
>> swift-evolution mailing list
>> swift-evolution@swift.org <mailto:swift-evolution@swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-evolution
> 

_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to