On Tue, Oct 13, 2015 at 11:30 AM, Michael Truog <[email protected]> wrote:
> Could we please add a FUNCTION macro which returns the name of the function
> as an atom and a FUNCTION_ARITY macro that returns the "name/arity" as a
> string?  Those should cover a common desire in Erlang source code and would
> eliminate any functionality benefit when implementing logging with a parse
> transform over all source code when compared to logging that relies on
> macros.

Not to this EEP. Having a FUNCTION macro is probably not
controversial in the same way as conditional compilation, so
it should be a separate EEP.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB
_______________________________________________
eeps mailing list
[email protected]
http://erlang.org/mailman/listinfo/eeps

Reply via email to