Skip to content

Commit e3504b2

Browse files
authored
Merge pull request #187 from LiamGoodacre/fix/remove-array-ref-eq
Remove the ref equality check in the Eq Array instance
2 parents a96663b + 23c0fce commit e3504b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Data/Eq.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ exports.eqStringImpl = refEq;
1515
exports.eqArrayImpl = function (f) {
1616
return function (xs) {
1717
return function (ys) {
18-
if (xs === ys) return true;
1918
if (xs.length !== ys.length) return false;
2019
for (var i = 0; i < xs.length; i++) {
2120
if (!f(xs[i])(ys[i])) return false;

0 commit comments

Comments
 (0)