<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=""><div class="">Hi Javier,</div><div class=""><br class=""></div><div class="">Maybe I’m not explained correctly in email. The change is not a "guard let” &nbsp;replacement, instead it is a “if let” replacement.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Carlos</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On 08 Jan 2017, at 05:45, Javier Soto &lt;<a href="mailto:javier.api@gmail.com" class="">javier.api@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class="">Based on your examples I think you were thinking about the "guard" keyword, instead of "if"?<br class=""><br class="">`If let foo = bar else` is not a valid construction. `if let foo = bar { } else {}` may have been what you meant, but in this case it is clear that this is just like a regular if, combined with unwrapping an optional.<br class=""><div class="gmail_quote"><div dir="ltr" class="">On Sat, Jan 7, 2017 at 7:12 PM thislooksfun via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="gmail_msg">-1 from me, I think that it makes perfect sense the way it is.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">More specifically, I read `if let safe = optional` as "if optional can be unwrapped into safe, then ..."</div><div class="gmail_msg">I think `obtain let` is more confusing, as it's not clear that it's a conditional from that keyword. Plus to me, "obtain" seems like it would be getting something from somewhere else, not always locally, maybe use an `unwrap` keyword in there somewhere, if you want it to be very clear what's happening?</div><div class="gmail_msg"><div class="gmail_msg">
<div style="letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; word-wrap: break-word;" class="gmail_msg"><br class="gmail_msg">-thislooksfun (tlf)</div>

</div></div></div><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg">
<br class="gmail_msg"><div class="gmail_msg"><blockquote type="cite" class="gmail_msg"><div class="gmail_msg">On Jan 7, 2017, at 8:46 PM, Carlos García via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br class="gmail_msg m_-3452939296680724213Apple-interchange-newline"><div class="gmail_msg"><div style="word-wrap:break-word" class="gmail_msg"><div class="gmail_msg"><pre style="font-variant-ligatures:normal" class="gmail_msg"><span style="white-space:pre-wrap" class="gmail_msg">Hi all,

Here’s a draft proposal to change <b class="gmail_msg">if let</b> construction for <b class="gmail_msg">obtain let</b>. Proposal is at:</span></pre><pre style="font-variant-ligatures:normal" class="gmail_msg"><a href="https://github.com/carlosypunto/swift-evolution/blob/obtain-let-instead-if-let/proposals/XXXX-Use-obtain-let-instead-if-let-constructions.md" class="gmail_msg" target="_blank">https://github.com/carlosypunto/swift-evolution/blob/obtain-let-instead-if-let/proposals/XXXX-Use-obtain-let-instead-if-let-constructions.md</a><span style="white-space:pre-wrap" class="gmail_msg">

I would like to see what you think and get help with "<i class="gmail_msg">Effect on ABI stability</i>" and "<i class="gmail_msg">Effect on API resilience</i>" points

Carlos</span></pre><pre style="font-variant-ligatures:normal" class="gmail_msg"><span style="white-space:pre-wrap" class="gmail_msg"><br class="gmail_msg"></span></pre></div></div>_______________________________________________<br class="gmail_msg">swift-evolution mailing list<br class="gmail_msg"><a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a><br class="gmail_msg"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="gmail_msg" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="gmail_msg"></div></blockquote></div><br class="gmail_msg"></div></div>_______________________________________________<br class="gmail_msg">
swift-evolution mailing list<br class="gmail_msg">
<a href="mailto:swift-evolution@swift.org" class="gmail_msg" target="_blank">swift-evolution@swift.org</a><br class="gmail_msg">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="gmail_msg">
</blockquote></div><div dir="ltr" class="">-- <br class=""></div><div data-smartmail="gmail_signature" class=""><div dir="ltr" class="">Javier Soto</div></div>
</div></blockquote></div><br class=""></body></html>