From 28585627fa89696f55455ab524ade224ff1e1368 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sun, 26 Sep 2010 16:47:39 -0400 Subject: [PATCH] reduction strategy should be 'false' for normal order, not 1 Signed-off-by: Jim Pryor --- lambda_evaluator.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambda_evaluator.mdwn b/lambda_evaluator.mdwn index 26de7109..4a5b9dc0 100644 --- a/lambda_evaluator.mdwn +++ b/lambda_evaluator.mdwn @@ -85,7 +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(); + 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); -- 2.11.0