[gambit-list] macro tricks

lowly coder lowlycoder at huoyanjinjing.com
Thu Aug 13 07:09:19 EDT 2009


(define-macro (foo)
  (define x 20)
  (define (magic-func var-name)
    ...)

  (pp (magic-func 'x)))

(foo)


Is there anyway I can define magic-func so that 20 is outputted?



More information about the Gambit-list mailing list