Just left a comment on the bug; it's clear we need some sort of new syntax, and I'd like to throw out `foo(:)` as a candidate, by analogy with `[:]` being an empty dictionary.<br><div class="gmail_quote"><div dir="ltr">On Mon, Jan 30, 2017 at 22:04 Jacob Bandes-Storch via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You said "The ability to reference a function by only the first segment of its name is likewise legacy of the original model..." — how else could you refer to a nullary function? Even if labels were required for naming (>0)-ary functions, there's still ambiguity between a nullary function and a variable.<br class="gmail_msg"><div class="gmail_quote gmail_msg"><div dir="ltr" class="gmail_msg">On Mon, Jan 30, 2017 at 7:54 PM Joe Groff <<a href="mailto:jgroff@apple.com" class="gmail_msg" target="_blank">jgroff@apple.com</a>> wrote:<br class="gmail_msg"></div><blockquote class="gmail_quote gmail_msg" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="gmail_msg">
> On Jan 30, 2017, at 7:34 PM, Jacob Bandes-Storch <<a href="mailto:jtbandes@gmail.com" class="gmail_msg" target="_blank">jtbandes@gmail.com</a>> wrote:<br class="gmail_msg">
><br class="gmail_msg">
> Although there's no spelling for this... <a href="https://bugs.swift.org/browse/SR-3550" rel="noreferrer" class="gmail_msg" target="_blank">https://bugs.swift.org/browse/SR-3550</a><br class="gmail_msg">
<br class="gmail_msg">
IMO, the way to spell `foo` with no arguments is just `foo`. If we strictly required the labels for referring to n-ary functions, that would make it unambiguous…<br class="gmail_msg">
<br class="gmail_msg">
-Joe<br class="gmail_msg">
<br class="gmail_msg">
</blockquote></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>