<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="">What about $N?&nbsp;&nbsp;:-) &nbsp;</div><div class=""><br class=""></div><div class="">And then you could also put {} around it so that it is more obvious that partial1 is being assigned something that acts like a closure, and then you end up with:</div><div class=""><br class=""></div><div class="">let partial1 = { projectFunctionToCoordinateSystem(function: mySinFunction, p0: p0, p1: p1, x: $0) }<br class="">let partial2 = { projectFunctionToCoordinateSystem(function: mySinFunction, p0: .zero, p1: $0, x: $1) }<br class=""><div class=""><br class=""></div></div><div class="">instead of:</div><div class=""><blockquote type="cite" class="">let&nbsp;partial1&nbsp;=&nbsp;projectFunctionToCoordinateSystem(function: mySinFunction, p0: p0, p1: p1, x: _)&nbsp;<br class="Apple-interchange-newline">let&nbsp;partial2&nbsp;=&nbsp;projectFunctionToCoordinateSystem(function: mySinFunction, p0:&nbsp;.zero, p1: _, x: _)&nbsp;<br class="Apple-interchange-newline"></blockquote><div class=""><br class=""></div><div class="">I’m -1.</div></div><div class=""><br class=""></div><div class="">With the way that single expression closures work, and the fact that they are so syntactically light, I don’t think that this proposal would add utility, it would just be one more construct to learn.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- Greg</div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 2, 2016, at 10:28 AM, Gwendal Roué 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=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">What about nothing?<div class=""><br class=""></div><div class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><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="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><div class="highlight highlight-source-swift" style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; background-color: rgb(255, 255, 255);"><pre class="" style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 14px; margin-top: 0px; margin-bottom: 0px; line-height: 1.45; padding: 16px; background-color: rgb(247, 247, 247); border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; word-break: normal;"><span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">let</span> partial1 <span class="pl-k" style="box-sizing: border-box; color: rgb(167, 29, 93);">=</span> f(arg1: 1, arg2:)</pre></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div class="">Gwendal</div><div class=""><br class=""><blockquote type="cite" class="">Le 2 févr. 2016 à 19:26, Gwendal Roué &lt;<a href="mailto:gwendal.roue@gmail.com" class="">gwendal.roue@gmail.com</a>&gt; a écrit :<br class=""><br class="">Any operator character would be bad, since the function may accept it, as in `[1,2,3].reduce(1, combine: *)`<br class=""><br class="">Gwendal<br class=""><br class=""><blockquote type="cite" class="">Le 2 févr. 2016 à 19:24, Erica Sadun via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; a écrit :<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Feb 2, 2016, at 11:20 AM, Chris Lattner &lt;<a href="mailto:clattner@apple.com" class="">clattner@apple.com</a>&gt; wrote:<br class=""><br class="">On Feb 2, 2016, at 10:16 AM, Erica Sadun &lt;<a href="mailto:erica@ericasadun.com" class="">erica@ericasadun.com</a>&gt; wrote:<br class=""><blockquote type="cite" class=""><blockquote type="cite" class=""><br class="">One superficial comment on this: the use of _ here is a bad idea. &nbsp;_ already means something in&nbsp;expressions - “discard”, and a closely related thing in declarations - “ignore”. &nbsp;<br class=""><br class="">Adding a third very different thing (placeholder to be filled in later) seems like a really confusing thing to&nbsp;do.<br class=""><br class="">-Chris<br class=""><br class=""></blockquote><br class=""><br class="">#?<br class=""></blockquote><br class=""># means “macro like” or “compiler synthesized”.<br class=""><br class="">-Chris<br class=""><br class=""></blockquote><br class="">* would be bad, right? And naked ?-marks?<br class=""><br class="">-- E<br class=""><br class="">_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></blockquote><br class=""></blockquote><br class=""></div></div></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div></blockquote></div><br class=""></body></html>