aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/orddict.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-09-24 15:22:47 +0300
committerKostis Sagonas <[email protected]>2010-09-24 15:22:47 +0300
commit7c64e547eff945059732384617676b1cafc11117 (patch)
treeebfeb34864eed9305c74ed57ce3185219a84a742 /lib/stdlib/src/orddict.erl
parentdd51118499209bbd91c0092d9778897026bde4c6 (diff)
downloadotp-7c64e547eff945059732384617676b1cafc11117.tar.gz
otp-7c64e547eff945059732384617676b1cafc11117.tar.bz2
otp-7c64e547eff945059732384617676b1cafc11117.zip
Correct erroneous specs; strengthen some others
Diffstat (limited to 'lib/stdlib/src/orddict.erl')
-rw-r--r--lib/stdlib/src/orddict.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/orddict.erl b/lib/stdlib/src/orddict.erl
index c7b52b933e..8a13992785 100644
--- a/lib/stdlib/src/orddict.erl
+++ b/lib/stdlib/src/orddict.erl
@@ -151,7 +151,7 @@ map(F, [{Key,Val}|D]) ->
[{Key,F(Key, Val)}|map(F, D)];
map(F, []) when is_function(F, 2) -> [].
--spec filter(fun((term(), term()) -> term()), orddict()) -> orddict().
+-spec filter(fun((term(), term()) -> boolean()), orddict()) -> orddict().
filter(F, [{Key,Val}=E|D]) ->
case F(Key, Val) of