projects
/
lambda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cee435
)
tweak lambda evaluator
author
Jim Pryor
<profjim@jimpryor.net>
Thu, 23 Sep 2010 09:08:14 +0000
(
05:08
-0400)
committer
Jim Pryor
<profjim@jimpryor.net>
Thu, 23 Sep 2010 09:08:14 +0000
(
05:08
-0400)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
lambda_evaluator.mdwn
patch
|
blob
|
history
diff --git
a/lambda_evaluator.mdwn
b/lambda_evaluator.mdwn
index
7a037d5
..
93870a5
100644
(file)
--- a/
lambda_evaluator.mdwn
+++ b/
lambda_evaluator.mdwn
@@
-88,7
+88,7
@@
Object.prototype.error = function (message, t) {
// string = expr.to_string() + "\n\n~~>\n\n";
string = '';
eta = document.getElementById('ETA').checked;
- string =
"("+eta+")"+
string + reduce(expr, eta, false).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);