From: Chris Barker Date: Sun, 26 Sep 2010 20:07:12 +0000 (-0400) Subject: added temps X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=e1d85bccc163c3948f89d07a70fd9a2033c27e2a;hp=b824689f110ee914505b6045db343054557ba0af added temps --- diff --git a/lambda_evaluator.mdwn b/lambda_evaluator.mdwn index 42e0afce..37908ab5 100644 --- a/lambda_evaluator.mdwn +++ b/lambda_evaluator.mdwn @@ -85,8 +85,7 @@ Object.prototype.error = function (message, t) { // string = expr.to_string() + "\n\n~~>\n\n"; string = ''; eta = document.getElementById('ETA').checked; - string = string + reduce(expr, eta, 1).to_string(); -// 2 --> false + string = string + reduce(expr, eta, 2).to_string(); } catch (e) { string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key', 'value', 'arity', 'first', 'second', 'third', 'fourth'], 4);