<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 Dec 5, 2016, at 9:17 PM, David Sweeris via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; 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=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Dec 5, 2016, at 8:54 PM, Jay Zhao &lt;<a href="mailto:zhaojianyin@icloud.com" class="">zhaojianyin@icloud.com</a>&gt; 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="">What about <span style="font-size: 14px;" class=""><font color="#38571a" class="">mapUnwrapped ?</font></span></div></div></div></blockquote><br class=""></div><div class="">If the name is anything other than “map”, you already have to think of the “special” word. At that point, why not just unwrap it manually?</div><div class=""><span class="" style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures; color: rgb(186, 45, 162);">_</span><span class="" style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;">&nbsp;= array2?</span><span class="" style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;">.</span><span class="" style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">count</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">vs</span></div><div class=""><span class="" style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;"><span class="" style="color: rgb(186, 45, 162); font-variant-ligatures: no-common-ligatures;">_</span><span class="" style="font-variant-ligatures: no-common-ligatures;">&nbsp;= array2?</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.map {$0.</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><font color="#703daa" class="">count</font>}</span></span></div></div></div></blockquote>Oops, there shouldn’t be a “?" on the last line</div></body></html>