lists:keymember

Samuel Rivas samuel@REDACTED
Tue Nov 9 09:55:26 CET 2004


  Shouldn't this fail with a badarg? The argument does not complain with
the description of the function ("keymember(Key, N, Tuplelist) [...]
Tuplelist = [tuple()]")

1>  lists:keymember(foo, 1, [foo]).
false

-- 
	Samuel



More information about the erlang-questions mailing list