<div dir="ltr">I did not see any inconsistency ... for me,...<div><br><div>"say (1,2)" is same as "say((1,2))" since we are passing a tuple to the subroutine.</div><div><br></div><div>"printf (1,2)" and printf(1,2)" are different - in the former, we are passing only one parameter as input.</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 31, 2017 at 11:28 AM, Erick Jordan <span dir="ltr"><<a href="mailto:erickfjordan@gmail.com" target="_blank">erickfjordan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You're right.  Horribly inconsistent.<div><br></div><div><div>> printf ("%d + %d = %d\n", 4,5,1)</div><div>Your printf-style directives specify 3 arguments, but no argument was supplied</div><div><br></div><div>> printf("%d + %d = %d\n", 4,5,1)</div><div>4 + 5 = 1</div></div><div><br></div><div>Something changed.</div></div><br><div class="gmail_quote"><div><div class="h5"><div dir="ltr">On Tue, Oct 31, 2017 at 10:05 AM Bob Mathews <<a href="mailto:bobmath11@icloud.com" target="_blank">bobmath11@icloud.com</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div style="word-wrap:break-word"><div>It seems that space-before-paren is still significant in Perl6. The first two statements print a 1 immediately followed by a 2...</div><div><br></div><div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">> say 1, 2</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">12</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">> say(1,2)</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">12</span></div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)">> say (1,2)</div><div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures">(1 2)</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>...and the third prints a tuple containing one and two.</div><div><br></div><div> -bob</div><div><br></div></div></div></div>______________________________<wbr>_________________<br>
Oc-pm mailing list<br>
<a href="mailto:Oc-pm@pm.org" target="_blank">Oc-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/oc-pm" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/<wbr>listinfo/oc-pm</a><br>
</blockquote></div>
<br>______________________________<wbr>_________________<br>
Oc-pm mailing list<br>
<a href="mailto:Oc-pm@pm.org">Oc-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/oc-pm" rel="noreferrer" target="_blank">http://mail.pm.org/mailman/<wbr>listinfo/oc-pm</a><br>
<br></blockquote></div><br></div>