X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=lambda_evaluator.mdwn;h=4a5b9dc0ec39a17f14cf4c564148b40acc9252e5;hp=42e0afce3c5520c6924bb5316c7924abcaf2c03b;hb=ce6877027e00cdb159651cddba03addb5208e875;hpb=b824689f110ee914505b6045db343054557ba0af diff --git a/lambda_evaluator.mdwn b/lambda_evaluator.mdwn index 42e0afce..4a5b9dc0 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, false).to_string(); } catch (e) { string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key', 'value', 'arity', 'first', 'second', 'third', 'fourth'], 4);