[erlang-questions] Why no ?FUNCTION macro
Thu Sep 20 14:40:40 CEST 2007
"Adam Lindberg" <adam@REDACTED> writes:
> Hi all!
> Why is there no ?FUNCTION macro? If it is possible to do ?MODULE and ?LINE
> it should be possible to do ?FUNCTION too?
The pre-processor that defines macros knows nothing about Erlang syntax and has no
idea about which the current function is.
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions