On Saturday, November 28, 2015 at 11:24:28 PM UTC, Matthew Flatt wrote:
> That is, `import` is a binding form, just like `let`.
Oh, that makes sense. So it gets swapped in the macro for a hygenic named
variable, and the ones I pass by that name don't get swapped in the same
fashion, thus aren't
Your example is similar to
(define-syntax-rule (with-x body)
(let ([x 5])
body))
(with-x x) ; => unbound identifier
That is, `import` is a binding form, just like `let`. Bindings
introduced by a hygienic macro do not capture identifiers at the
macro-use site.
If you want non-hygienic
2 matches
Mail list logo