[erlang-questions] Sending funs between nodes

Ladislav Lenart <>
Thu Aug 30 09:23:28 CEST 2007


Kirill Zaborski wrote:
> It looks like fun needs code of the module where it was defined. Why is 
> it so?
> is there any way around this issue? Or I need the same beams on all the 
> nodes?

Hello,

if I recall it correctly, funs are always passed as references.
Therefore you have to load at least modules that contain funs
that are sent to other nodes.

Hope this helps,

Ladislav Lenart





More information about the erlang-questions mailing list