An over enthusiastic warning ?

Roger Price <>
Wed May 24 13:55:44 CEST 2006

Matthias Lang <> writes:
> Calling _U4 a 'wildcard' seems a bit misleading,

"Richard A. O'Keefe" <> writes:
> Wrong.  "_" is a wild-card, NOTHING ELSE is a wild-card.

Bjorn Gustavsson <> 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 
fold _G []     A -> A;
fold  G [X|Xs] A -> fold G Xs (G X A) .

in Erlang.


More information about the erlang-questions mailing list