From 9161ebc6b7488905f7a135f7a0c48a24bae2e9bb Mon Sep 17 00:00:00 2001 From: Danny Yoo Date: Wed, 7 Sep 2011 19:53:03 -0400 Subject: [PATCH] jslinting --- js-assembler/runtime-src/baselib-lists.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js-assembler/runtime-src/baselib-lists.js b/js-assembler/runtime-src/baselib-lists.js index 6a72155..4df1e7e 100644 --- a/js-assembler/runtime-src/baselib-lists.js +++ b/js-assembler/runtime-src/baselib-lists.js @@ -48,6 +48,10 @@ this.rest = rest; }; + var makePair = function (first, rest) { + return new Cons(first, rest); + }; + Cons.prototype.reverse = function () { var lst = this; var ret = EMPTY; @@ -58,9 +62,6 @@ return ret; }; - var makePair = function (first, rest) { - return new Cons(first, rest); - }; // FIXME: can we reduce the recursion on this? Cons.prototype.equals = function (other, aUnionFind) { @@ -195,7 +196,6 @@ if (hare === EMPTY) { return true; } if (tortoise === hare) { return false; } } - return true; };