marking functions as obsolete/deprecated

Fredrik Thulin ft@REDACTED
Mon Jan 23 09:43:25 CET 2006


Is there any way I can mark (exported) functions in a module as obsolete 
or deprecated, and have the compiler issue a warning about it?

OTP seems to use static bits in otp_internal.erl to do this, but that 
options isn't exactly available to me. There is the module attribute 
tag 'deprecated', but it seems to only be used by 'xref' and not the 

Thanks in advance


More information about the erlang-questions mailing list