[erlang-questions] Proposal for -warning() directive
Fri Sep 4 11:12:34 CEST 2009
So it does. Gotta love Erlang. It's got so many nooks and crannies.
Randomly in that vein, if anyone can explain to me how to use the sofs
module, I'd appreciate it. :-D
On Sep 4, 2009, at 2:08 AM, Attila Rajmund Nohl wrote:
> 2009/9/4, Jayson Vantuyl <>:
>> I've had a case where this would have been useful. Not to have a
>> directive explosion, I might also recommend -deprecated(). In
>> fact, I
>> would probably find that more useful than -warning.
>> Or maybe there should be a directive more like:
>> -emit(warning,"Something bad about this module.").
>> -emit(deprecated,"This disappears next version.").
>> Or I might be overthinking it. But I do think this functionality in
>> some form is useful.
> I suggest that you should check the regexp.erl file in the stdlib in
> OTP R13. It contains this text:
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
More information about the erlang-questions