<div dir="ltr">Me too :) so handy!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 11:03 PM, Ash Furrow via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><div><span style="background-color:rgba(255,255,255,0)">Good idea – I miss the ||= conditional assignment operator from Ruby. </span></div><div><span style="background-color:rgba(255,255,255,0)"><br></span></div><div><span style="background-color:rgba(255,255,255,0)">Ash</span></div><div><br></div></div></span><div><div class="h5"><div><br>On Dec 15, 2015, at 5:53 PM, James Campbell via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:<br><br></div></div></div><blockquote type="cite"><div><div><div class="h5"><div dir="ltr">Would be great to have a ?= syntax.<div><br></div><div>So if</div><div><br></div><div>var a: [String]? is nil then</div><div><br></div><div>a ?= [] </div><div><br></div><div>will set it with a new array but if it already has a value then it won&#39;t do anything :)/</div><div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><span style="font-size:16px;line-height:19.2px"></span><span style="font-size:12.8px"> Wizard</span><br></div><div><a href="mailto:james@supmenow.com" target="_blank">james@supmenow.com</a></div><div><a href="tel:%2B44%207523%20279%20698" value="+447523279698" target="_blank">+44 7523 279 698</a></div></div></div></div></div></div>
</div></div>
</div></div><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=0US4fDRTxLkX0YbhiDXOtebc9Zy1fHcI6JtcXYBYWL4KqdeD5M295P9fdq91zuPZ5zYS0w8x1-2FEe0RSzFP4kxEAoyEaxoqKnlkxDQLbl-2F8JcBTJX8wKRdBeTlARfNzK4XuyAjMnyHJJEpehQlZDaDJ7m8-2F1faf2NVceI7pkN8i6Um-2BIJ8z67iYM-2BWg-2B9nNYCtbyCo8ET3N0gVhZCu9NSWcu-2F7zlJKmT41ps3hmaPcB0-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div></blockquote><span class=""><blockquote type="cite"><div><span>_______________________________________________</span><br><span>swift-evolution mailing list</span><br><span><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br><span><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br></div></blockquote>
</span><img src="https://u2002410.ct.sendgrid.net/wf/open?upn=xV0JY-2FdZMnUMvSFtZnLiBPRTDDOSQf3-2FpH33HYOlBxFfCpMed8ilVUZbTOnGhX2YY091soXyR6SQYYTJlJjOWRwe6F-2F4vj5YY83Ep25z4goqryMuT-2FbFa5T3XsB0EEGbHctuRPqG41p9Ts9WtmMOQNqu0tuAVJ8guAG5-2BNAQuDj5WnJRA-2BUzOQdU7HsJhQU9OGYfDrJqa3CIRbEnl-2Fvwct-2Bc58PENJaocPOrgDCCYYk-3D" alt="" width="1" height="1" border="0" style="min-height:1px!important;width:1px!important;border-width:0!important;margin-top:0!important;margin-bottom:0!important;margin-right:0!important;margin-left:0!important;padding-top:0!important;padding-bottom:0!important;padding-right:0!important;padding-left:0!important">
</div>
<br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><span style="font-size:16px;line-height:19.2px"></span><span style="font-size:12.8px"> Wizard</span><br></div><div><a href="mailto:james@supmenow.com" target="_blank">james@supmenow.com</a></div><div>+44 7523 279 698</div></div></div></div></div></div>
</div>