the problem of using _Var instead of _

Bengt Kleberg bengt.kleberg@REDACTED
Fri Mar 4 08:53:34 CET 2005


Vlad Dumitrescu wrote:
...deleted
> 
> Using _ matches different tails, but using _T only matches if the tails are
> identical.

yes, there is a difference between _ and _<Var>. that was the 
observation i tried to convey.

the design guidelines that mandate _Var instead of _ failed to mention 
this. so i have operated under the assumption that _ and _<Var> are the 
same for over four years now.


bengt



More information about the erlang-questions mailing list