3 ms·
This is code from the erlang interpreter, erl_eval. It takes the abstract syntax of the code for a fun and returns a "real" fun which when called will interpret
by rvirding 18y ago
This is code from the erlang interpreter, erl_eval. It takes the abstract syntax of the code for a fun and returns a "real" fun which when called will interpret the code. This means that the fun which is returned can be called by compiled code, any code for that matter, as if it were compiled.
It has absolutely nothing to do with the code the compiler generates for a fun.