diff options
author | Björn Gustavsson <[email protected]> | 2010-10-04 15:47:06 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-10-04 15:47:06 +0200 |
commit | 3cfec17ff7aff97c5ec862a8b9e97d245849f9c3 (patch) | |
tree | 34c6d7ccd08d0312da1d83380de8defce62a4172 /lib/stdlib/src/orddict.erl | |
parent | 29a550156d88eb2899bceaa07c46369f97539336 (diff) | |
parent | 7c64e547eff945059732384617676b1cafc11117 (diff) | |
download | otp-3cfec17ff7aff97c5ec862a8b9e97d245849f9c3.tar.gz otp-3cfec17ff7aff97c5ec862a8b9e97d245849f9c3.tar.bz2 otp-3cfec17ff7aff97c5ec862a8b9e97d245849f9c3.zip |
Merge branch 'ks/stdlib-spec-fixes' into dev
* ks/stdlib-spec-fixes:
Correct erroneous specs; strengthen some others
Diffstat (limited to 'lib/stdlib/src/orddict.erl')
-rw-r--r-- | lib/stdlib/src/orddict.erl | 2 |
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 |