Tweak lambda eval

This commit is contained in:
Justin Ethier 2015-08-07 02:02:07 -04:00
parent ab05152163
commit 9443f92fe2
2 changed files with 3 additions and 2 deletions

View file

@ -1875,7 +1875,7 @@ object apply(object cont, object func, object args){
make_cons(c, func, args);
printf("JAE DEBUG, sending to eval: ");
Cyc_display(&c, stderr);
((closure)__glo_eval)->fn(3, __glo_eval, cont, &c, nil);
((closure)__glo_eval)->fn(2, __glo_eval, cont, &c, nil);
// TODO: would be better to compare directly against symbols here,
// but need a way of looking them up ahead of time.

View file

@ -26,6 +26,7 @@
(cons (rename 'and) (cddr expr))
#f))))))
(test 1 2 3)
(write
(test 1 2 3))
;(test 'done)
'done