diff options
author | Björn Gustavsson <bjorn@erlang.org> | 2010-10-04 15:47:06 +0200 |
---|---|---|
committer | Björn Gustavsson <bjorn@erlang.org> | 2010-10-04 15:47:06 +0200 |
commit | 3cfec17ff7aff97c5ec862a8b9e97d245849f9c3 (patch) | |
tree | 34c6d7ccd08d0312da1d83380de8defce62a4172 /lib/stdlib/src/ordsets.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/ordsets.erl')
-rw-r--r-- | lib/stdlib/src/ordsets.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/ordsets.erl b/lib/stdlib/src/ordsets.erl index 05041c15f1..e992b66714 100644 --- a/lib/stdlib/src/ordsets.erl +++ b/lib/stdlib/src/ordsets.erl @@ -147,7 +147,7 @@ intersection(_, []) -> %% intersection([OrdSet]) -> OrdSet. %% Return the intersection of the list of ordered sets. --spec intersection([ordset(_)]) -> ordset(_). +-spec intersection([ordset(_),...]) -> ordset(_). intersection([S1,S2|Ss]) -> intersection1(intersection(S1, S2), Ss); |