aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-07-28 15:04:30 +0200
committerGitHub <[email protected]>2017-07-28 15:04:30 +0200
commit946d914eb370776a4d164ef8ad0b8f4371856f49 (patch)
tree7c7a9a58916934e930bec8b026e98190689b3c34 /lib
parent2f49a6bdc5bc9207162bff837b3f642cdd089722 (diff)
parentb1b81473c5531bb765bcff634b8bdaf40b63b16e (diff)
downloadotp-946d914eb370776a4d164ef8ad0b8f4371856f49.tar.gz
otp-946d914eb370776a4d164ef8ad0b8f4371856f49.tar.bz2
otp-946d914eb370776a4d164ef8ad0b8f4371856f49.zip
Merge pull request #1520 from NOMORECOFFEE/fix_array_spec_typo
array: fix spec typo
Diffstat (limited to 'lib')
-rw-r--r--lib/stdlib/src/array.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/array.erl b/lib/stdlib/src/array.erl
index 079b761463..a237eaa489 100644
--- a/lib/stdlib/src/array.erl
+++ b/lib/stdlib/src/array.erl
@@ -1603,7 +1603,7 @@ foldl_2(I, E, A, Ix, F, D, N, R, S) ->
Ix + S, F, D, N, R, S).
-spec foldl_3(pos_integer(), _, A, array_indx(),
- fun((array_indx, _, A) -> B), integer()) -> B.
+ fun((array_indx(), _, A) -> B), integer()) -> B.
foldl_3(I, E, A, Ix, F, N) when I =< N ->
foldl_3(I+1, E, F(Ix, element(I, E), A), Ix+1, F, N);