[erlang-questions] simplified attribute declaration

Attila Rajmund Nohl <>
Fri Mar 19 14:28:05 CET 2010

2010/3/19, Kostis Sagonas <>:
> It is true that users who have spent years getting used to the "Erlang
> way of doing things" might find this possibility confusing at first. On
> the other hand, those that have some exposure to ML or Haskell will
> recognize something familiar to them: think of all attributes as taking
> only _one_ parameter and the parentheses are needed for grouping what's
> inside this parameter.

Don't forget that it's not only the Erlang tools and programmers who
parse Erlang source code, but e.g. ctags and etags too. As far as I
checked, they do accept the non-documented no-parentheses format, but
there might be some other tool that breaks on them.

More information about the erlang-questions mailing list