[erlang-bugs] calling anonymous function via rpc:call

Matthew Dempsky matthew@REDACTED
Sat Mar 1 23:21:40 CET 2008


This is by design.  Invoking a fun depends on the module that defines
it to be loaded into the runtime.  If you load your rem_fun module on
axd301@REDACTED, your rpc:call should work.

When you write "fun() -> ok end" at the shell, the resulting fun is
actually a bit of code from erl_eval that continues with the
evaluation, and erl_eval is already available by default.



More information about the erlang-bugs mailing list