[erlang-questions] clarify: variable as function name
Mon Dec 10 14:24:46 CET 2007
On Dec 10, 2007 1:47 PM, Andreas Hillqvist <andreas.hillqvist@REDACTED> wrote:
> I am missing the ability to send Variables to "fun [xxx:]yyy/z".
> Something like:
> F = fun ExprF/0.
> F = fun ExprM:ExprF/0.
If you look at the document in the source that describes the external
format you will see that this kind of fun (that just reference the fun to
call by its name) already exist.
If funs are bound to the offset and checksum into a module or if it is
the names exposed by the external api has huge impact for code-switching.
It feels like this is the area where you just have to be very
experienced to know
how and when to use funs without painting youself into a corner about
code switching will be.
More information about the erlang-questions