[gambit-list] macro problems

lowly coder lowlycoder at huoyanjinjing.com
Thu Aug 13 05:39:00 EDT 2009


(define foo 2)
(pp (eval 'foo))


(define-macro (test)
  (define bar 3)
  (pp (eval 'bar)))

;(test)


why does (test) fail? it confuses me why the eval works in foo but not in bar

Thanks!



More information about the Gambit-list mailing list