hello, I'm chicken/scheme newbie.
I'm long time use CommonLisp. but I feel difference with scheme.
I writing first test program.
but....
(module foo (bar)
(import chicken scheme)
(define m 10)
(define-syntax bar
(ir-macro-transformer
(lambda (expr a b)
`(+ m ,@(cdr expr))))))
(import foo)
(bar (+ 10 20))
I got Error: unbound variable: m
I want result 40. If export with 'm' ..it works.
but I'm not want export variable 'm'.....
plz help me!
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users