Skip to content

Commit 022aba7

Browse files
committed
fix js style
1 parent 46753f8 commit 022aba7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Data/Array/NonEmpty.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ exports.fold1Impl = function (f) {
44
return function (xs) {
55
var acc = xs[0];
66
var len = xs.length;
7-
for (var i = 1; i < len; i++) {
8-
acc = f(acc)(xs[i]);
9-
}
10-
return acc;
7+
for (var i = 1; i < len; i++) {
8+
acc = f(acc)(xs[i]);
9+
}
10+
return acc;
1111
};
1212
};
1313

@@ -25,7 +25,7 @@ exports.traverse1Impl = function () {
2525

2626
function finalCell(head) {
2727
return new ConsCell(head, emptyList);
28-
};
28+
}
2929

3030
function consList(x) {
3131
return function (xs) {

0 commit comments

Comments
 (0)