<div dir="ltr"><div>Hi, <br></div><div>From the manual today I learn that functions can be called in a row with:<br></div><div>() =&gt; foo =&gt; bar; <br></div><div>I would like directly spork functions in a row, is there a way to do something like:</div><div>spork~ () =&gt; foo =&gt; bar;</div><div></div><div><br></div><div>I can spork an extra function to make the call</div><div><br></div><div>Thanks, <br></div><div><br></div><div>federico</div><div><br></div><div><br></div><div>   <br></div><div>Sample code: <br></div><div>// ==== <br></div><div>200::ms =&gt; dur beat;<br>[8, 4] @=&gt; int parts[];<br>fun void foo()<br>{<br>    &lt;&lt;&lt; &quot;playing foo&quot; &gt;&gt;&gt;;<br>    parts[0] * beat =&gt; now;<br>}<br>fun void bar()<br>{<br>    &lt;&lt;&lt; &quot;playing bar&quot; &gt;&gt;&gt;;<br>    parts[1] * beat =&gt; now;<br>}</div><div><br></div><div>// spork~ () =&gt; foo =&gt; bar;  // &quot;only function calls can be sporked&quot; error</div><div><br></div><div>// extra function to make the call<br></div><div>fun void testPlay()<br>{<br>    () =&gt; foo =&gt; bar;<br>}</div><div>spork~ testPlay();<br>while(true) 200::ms =&gt; now;</div></div>