[eeps] New - EEP 44: Additional preprocessor directives
Michael Truog
mjtruog@REDACTED
Tue Oct 13 11:30:52 CEST 2015
On 10/13/2015 12:49 AM, Raimo Niskanen wrote:
> New - EEP 44: Additional preprocessor directives
>
> http://www.erlang.org/eeps/eep-0044.html
> https://github.com/erlang/eep/blob/master/eeps/eep-0044.md
>
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.
More information about the eeps
mailing list