<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 31, 2014 at 1:17 PM, Roberto Aloi <span dir="ltr"><<a href="mailto:prof3ta@gmail.com" target="_blank">prof3ta@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">This should help:</p>
<p dir="ltr"><a href="http://www.javalimit.com/2010/05/passing-funs-to-other-erlang-nodes.html" target="_blank">http://www.javalimit.com/2010/05/passing-funs-to-other-erlang-nodes.html</a></p></blockquote></div><br>Ok, so it is a reference to the function itself, as I remembered. And what about its closure? I.e., in the example in the article, if the X as already been assigned before the spawn, its values should be transmitted along with the fun...<br>
<br clear="all"><div><br></div>-- <br>Sivieri Alessandro<br><a href="mailto:alessandro.sivieri@gmail.com" target="_blank">alessandro.sivieri@gmail.com</a><br><a href="http://sivieri.wordpress.com/" target="_blank">http://sivieri.wordpress.com/</a><br>
</div></div>