Browse Source

removed useless function

pull/21/head
Wesley Kerfoot 12 years ago
parent
commit
59af207836
  1. 16
      tools.js

16
tools.js

@ -14,20 +14,6 @@ function on(g, f) {
}; };
} }
//pretty prints expressions!
function pprint(exp) {
//console.log(exp);
//if (exp.func && exp.func
if (exp.func && exp.p)
return "(" + pprint(exp.func) + " " + pprint(exp.p) + ")";
//return pprint(exp.func);
else if (exp.exprType === "Name")
return exp.val;
else
return exp.val;
}
module.exports = {compose : compose, module.exports = {compose : compose,
not : not, not : not,
on : on, on : on}
pprint : pprint}

Loading…
Cancel
Save