aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/lists.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/lists.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/lists.erl')
-rw-r--r--lib/stdlib/src/lists.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/lists.erl b/lib/stdlib/src/lists.erl
index 08ee595f4d..431e5b114e 100644
--- a/lib/stdlib/src/lists.erl
+++ b/lib/stdlib/src/lists.erl
@@ -350,7 +350,7 @@ sort_1(X, [], R) ->
%% merge(List) -> L
%% merges a list of sorted lists
--spec merge([T]) -> [T].
+-spec merge([[T]]) -> [T].
merge(L) ->
mergel(L, []).
@@ -842,7 +842,7 @@ usort_1(X, []) ->
%% umerge(List) -> L
%% merges a list of sorted lists without duplicates, removes duplicates
--spec umerge([T]) -> [T].
+-spec umerge([[T]]) -> [T].
umerge(L) ->
umergel(L).