Skip to content

Commit 23c0fce

Browse files
committed
Remove the ref equality check in the Eq Array instance
See discussion here: 3b0d306
1 parent cdcc13e commit 23c0fce

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Data/Eq.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ exports.refEq = function (r1) {
99
exports.eqArrayImpl = function (f) {
1010
return function (xs) {
1111
return function (ys) {
12-
if (xs === ys) return true;
1312
if (xs.length !== ys.length) return false;
1413
for (var i = 0; i < xs.length; i++) {
1514
if (!f(xs[i])(ys[i])) return false;

0 commit comments

Comments
 (0)