[erlang-questions] Compiler to warn on used underscore-variables

Lövei László <>
Wed Jan 6 15:36:12 CET 2010


Zoltan Lajos Kis wrote:
> 
> I understand that they are ordinary variables. But I am certain that all
> the _Var variables I have seen so far were named so in order to indicate
> that they are intentionally unused, and not because of some strange naming
> habit.

It is also useful in generated code, take a look at the output of yecc 
for an example.


Laszlo



More information about the erlang-questions mailing list