Hi,
You must indicate that `m` should be visible within the expansion of
`bar`, using the following export format:
(module foo ((bar m)) ...)
Otherwise, everything looks fine.
See the IDENTIFIER syntax under
http://wiki.call-cc.org/man/4/Modules#module for more information.
Cheers,
Evan
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