lists:keymerge/3

Vance Shipley <>
Tue Nov 2 10:06:56 CET 2004


Is this a bug or am I missing something?

1> lists:keymerge(1, [{1,foo}], [{1,a},{2,b},{3,c}]).
[{1,foo},{1,a},{2,b},{3,c}]


I would have expected it to return:

[{1,foo},{2,b},{3,c}]

	-Vance



More information about the erlang-questions mailing list