[erlang-questions] Compiler to warn on used underscore-variables
Tony Arcieri
tony@REDACTED
Tue Jan 5 00:02:03 CET 2010
On Mon, Jan 4, 2010 at 3:55 PM, Robert Virding <rvirding@REDACTED> wrote:
> They *ARE* ordinary variables! All variables are variables irrespective of
> whether there name starts with a capital letter or an "_". The *ONLY*
> exception is the variable '_'
>
This was a really interesting discovery writing Reia, as I soon found out
the need for variables to begin with a capital letter is solely an effect of
the parser, and I can create a language with lower case variable names and
the Erlang compiler has no issue with them.
--
Tony Arcieri
Medioh! A Kudelski Brand
More information about the erlang-questions
mailing list