[erlang-questions] clarify: variable as function name

Andreas Hillqvist <>
Tue Dec 11 13:39:31 CET 2007


Thank you for the information.

I feelt like there should be some sort of function for that. ;-)

Is it OK to use it, will it made public/documented part of OTP?
Maybe in R12-1? ;-)


Kind regards
Andreas Hillqvist

11 Dec 2007 12:11:35 +0100, Bjorn Gustavsson <>:
> "Andreas Hillqvist" <> writes:
>
> > But I guess it would be simple for the OTP team to add a "real"
> > make_fun(Module, Function, Arity) function that creates an EXPORT_EXT
> > (113) to a module i.e. the erlang module.
>
> There already is an erlang:make_fun/3 BIF. Not documented, though.
>
> 1> erlang:make_fun(c, i, 0).
> #Fun<c.i.0>
> 2>
>
> /Bjorn
> --
> Björn Gustavsson, Erlang/OTP, Ericsson AB
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list