simplified attribute declaration

Vlad Dumitrescu vladdu55@REDACTED
Thu Mar 18 10:14:28 CET 2010


Hi,

I don't remember anyone mentioning this before, but I think it's cool
and should be promoted as the recommended syntax:

All attributes can now (R13) be specified without parantheses!

-module hello_world.
-export [init/1, stop/2].
-define DEBUG(X), io:format("debug: ~p~n", [X]).

best regards,
Vlad


More information about the erlang-questions mailing list