X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=lambda_evaluator.mdwn;h=4e1fead74a5e70b606824471ac709fac34a54155;hp=4a5b9dc0ec39a17f14cf4c564148b40acc9252e5;hb=e59d00c559e4c27e73d421d9a0f810dafadeb9ff;hpb=1f9c532ea9cfdb1e553e30f5f83568e4a73c80b9 diff --git a/lambda_evaluator.mdwn b/lambda_evaluator.mdwn index 4a5b9dc0..4e1fead7 100644 --- a/lambda_evaluator.mdwn +++ b/lambda_evaluator.mdwn @@ -85,7 +85,8 @@ 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, false).to_string(); + string = string + reduce(expr, eta, 2).to_string(); +// 2 --> false } catch (e) { string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key', 'value', 'arity', 'first', 'second', 'third', 'fourth'], 4);