<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 21, 2016, at 11:11 PM, Chris Lattner via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 12, 2016, at 4:46 AM, Brent Royal-Gordon <<a href="mailto:brent@architechies.com" class="">brent@architechies.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">When I suggested this syntax in the acceptance thread for SE-0099, Chris said it should be written up as a proposal. I'm sure this will get lost in the WWDC shuffle, but here goes.</div></div></div></blockquote><div class=""><br class=""></div><div class="">Hi Brent,</div><div class=""><br class=""></div><div class="">I’m sorry that I haven’t had time yet to read the down thread responses, but I don’t see how this can work:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class="">“if let pattern = expr” is sugar for “if case let pattern? = expr”, so this would either:</div><div class=""><br class=""></div><div class="">a) only apply to tuple literals on the right side or</div><div class="">b) not work, since this syntax above already means “if case let (a,b,c)? = expr”.</div></div></div></div></div></div></blockquote><div><br class=""></div><div>Sorry, I mean that:</div><div><br class=""></div><div>"if let (a, b, c) = expr” </div><div>already means:</div><div><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><div class=""><div class="">“if case let (a,b,c)? = expr”</div><div class=""><br class=""></div><div class="">since “expr” can be an optional tuple.</div><div class=""><br class=""></div><div class="">-Chris</div><div class=""><br class=""></div></div></div></div></div></div></div></body></html>