[erlang-questions] Spawn funs: code limitations

Alessandro Sivieri alessandro.sivieri@REDACTED
Sun Aug 31 13:21:40 CEST 2014


On Sun, Aug 31, 2014 at 1:17 PM, Roberto Aloi <prof3ta@REDACTED> wrote:

> This should help:
>
> http://www.javalimit.com/2010/05/passing-funs-to-other-erlang-nodes.html
>

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...


-- 
Sivieri Alessandro
alessandro.sivieri@REDACTED
http://sivieri.wordpress.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140831/aa6e86b3/attachment.htm>


More information about the erlang-questions mailing list