[plt-scheme] eval & syntax-rules
Hi,
Why something like this works :
#lang scheme(define t 9)(let ([t 2]) (eval t (make-base-namespace)))-> 2
but not something like this :
#lang scheme
(define a 4)(define b 5)(define c 6)
(define-syntax test (syntax-rules () [(test id ...) (eval '(id ...) (make-base-namespace))]))
(test a b c)-> reference to a unidentified identifier : a
Thanks.
_________________________________________________________________
Obtenez la version mobile de Messenger ici
http://go.microsoft.com/?linkid=9724473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100420/05ef1bca/attachment.html>