An over enthusiastic warning ?
Roger Price
rprice@REDACTED
Wed May 24 13:55:44 CEST 2006
Matthias Lang <matthias@REDACTED> writes:
> Calling _U4 a 'wildcard' seems a bit misleading,
"Richard A. O'Keefe" <ok@REDACTED> writes:
> Wrong. "_" is a wild-card, NOTHING ELSE is a wild-card.
Bjorn Gustavsson <bjorn@REDACTED> writes:
> Using variables starting with underscore only suppress warnings
> for unused variables.
Sorry - I have been thoroughly corrected. I should have read the
reference manual more carefully. Perhaps I should go down to the railway
station and apologise to everyone on platform 2.
> For learning purposes, I suppose?
I was wondering what would be needed to allow a function definition such
as
fold _G [] A -> A;
fold G [X|Xs] A -> fold G Xs (G X A) .
in Erlang.
Roger
More information about the erlang-questions
mailing list