aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-07-28 15:04:59 +0200
committerRaimo Niskanen <[email protected]>2017-07-28 15:04:59 +0200
commit2883e2b816a6c94c668afaa490042c0fe6ab5f38 (patch)
treedcb36dac503f3a5d2b68738a6170d061f141b8f6 /lib/stdlib
parentfdce942f2dbbf50c4987f4f0b15c99ceeae7f583 (diff)
parent946d914eb370776a4d164ef8ad0b8f4371856f49 (diff)
downloadotp-2883e2b816a6c94c668afaa490042c0fe6ab5f38.tar.gz
otp-2883e2b816a6c94c668afaa490042c0fe6ab5f38.tar.bz2
otp-2883e2b816a6c94c668afaa490042c0fe6ab5f38.zip
Merge branch 'maint'
Diffstat (limited to 'lib/stdlib')
-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);