(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?