I would more translate it as:<br><br>mod:func( ... )                == (remote-call 'mod 'func ... )<br>Mod:func( ... )                == (remote-call mod 'func ... )<br>apply(Mod, Func, [...])    == (apply mod func (...))
<br><br>You could actually skip remote-call and just have apply, it would be no problem for the compiler to detect the case when the argument list is known.<br><br>Someone came with perfectly reasonable suggestion of having a macro for the more usual case:
<br><br>(: mod func ... )       ==> (remote-call 'mod 'func ... )<br><br>Robert<br><br><div><span class="gmail_quote">On 26/11/2007, <b class="gmail_sendername">Alex Alvarez</b> <<a href="mailto:eajam@hotmail.com">
eajam@hotmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">



<div>Maybe I'm missing something here, but isn't this exactly like Erlang?<br>
 <br>
(mod:func ... )              ==  mod:func(...)<br>
(apply mod 'func ( ... ))  ==  apply(mod, func, ...)<br><br>Obviously, the syntax changes a little bit, but all the functionality is there already.  Actually, Erlang looks a lot cleaner from my view...<br><br>Cheers, Alex
<br>
<blockquote>
<hr>
Date: Mon, 26 Nov 2007 22:36:48 +0100<br>From: <a href="mailto:rvirding@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rvirding@gmail.com</a><br>To: <a href="mailto:chsu79@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
chsu79@gmail.com</a><br>CC: <a href="mailto:erlang-questions@erlang.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">erlang-questions@erlang.org</a><br>Subject: Re: [erlang-questions] My biggest beef with Erlang
<div><span class="e" id="q_1168377825baaa5e_1"><br><br>On 26/11/2007, <b>Robert Virding</b> <<a href="mailto:rvirding@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">rvirding@gmail.com
</a>> wrote:
<div><span></span>
<blockquote style="padding-left: 1ex;">
<div>
<div>Scheme allows defining a prefix within the a symbol which means it refers to another module (library for them) so you would write:<br><br>(mod:func ... )<br><br>when you know where to go at compiletime. At least that's how I interpreted the spec. Then for the general case you could use: 
<br><br>(apply mod 'func ( ... ))<br><br>or how about:<br><br>(: mod func arg1 arg2 ... )<br><br>for all cases?</div></div></blockquote>
<div><br>Equivalent to funcall in CL, this would be a remote funcall. Again a bit heavy for the standard case. <br><br>Of course some mailers might see that as a smiley. :-)<br><br>Robert<br><br></div></div></span></div>
</blockquote></div>
<br>_______________________________________________<br>erlang-questions mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br>