the problem of using _Var instead of _
Fri Mar 4 13:24:38 CET 2005
ifaik, the only difference between _X and X is that the "unused variable"
warning is not issued for _X.
imho, the whole _Var thing is a kludge that should be avoided.
Bengt Kleberg (AL/EAB) wrote:
> Vlad Dumitrescu wrote:
>>Using _ matches different tails, but using _T only matches if the tails are
> 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.
More information about the erlang-questions