jslinting

This commit is contained in:
Danny Yoo 2011-09-07 19:53:03 -04:00
parent 14da75b164
commit 9161ebc6b7

View File

@ -48,6 +48,10 @@
this.rest = rest; this.rest = rest;
}; };
var makePair = function (first, rest) {
return new Cons(first, rest);
};
Cons.prototype.reverse = function () { Cons.prototype.reverse = function () {
var lst = this; var lst = this;
var ret = EMPTY; var ret = EMPTY;
@ -58,9 +62,6 @@
return ret; return ret;
}; };
var makePair = function (first, rest) {
return new Cons(first, rest);
};
// FIXME: can we reduce the recursion on this? // FIXME: can we reduce the recursion on this?
Cons.prototype.equals = function (other, aUnionFind) { Cons.prototype.equals = function (other, aUnionFind) {
@ -195,7 +196,6 @@
if (hare === EMPTY) { return true; } if (hare === EMPTY) { return true; }
if (tortoise === hare) { return false; } if (tortoise === hare) { return false; }
} }
return true;
}; };