From fab4a757fb9854112b98a76671825847cadb2374 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Thu, 23 Sep 2010 02:56:50 -0400 Subject: [PATCH] tweak lambda evaluator Signed-off-by: Jim Pryor --- lambda_evaluator.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lambda_evaluator.mdwn b/lambda_evaluator.mdwn index 96da17d1..3240839a 100644 --- a/lambda_evaluator.mdwn +++ b/lambda_evaluator.mdwn @@ -81,8 +81,8 @@ Object.prototype.error = function (message, t) { var string, tree; try { tree = parse(source); -// string = JSON.stringify(tree, ['key', 'name', 'message', 'value', 'arity', 'first', 'second', 'third', 'fourth'], 4); - string = JSON.stringify(tree.handler(), ['key', 'name', 'message', 'value', 'arity', 'first', 'second', 'tag', 'variable', 'left', 'right', 'bound', 'body' ], 4); + string = JSON.stringify(tree, ['key', 'name', 'message', 'value', 'arity', 'first', 'second', 'third', 'fourth'], 4); + // string = JSON.stringify(tree.handler(), ['key', 'name', 'message', 'value', 'arity', 'first', 'second', 'tag', 'variable', 'left', 'right', 'bound', 'body' ], 4); // string = tree.handler().to_string(); } catch (e) { string = JSON.stringify(e, ['name', 'message', 'from', 'to', 'key', -- 2.11.0