1 2)
> > ;; 2
> >
> > (define x 3)
> > ((my-macro x) 1 2)
> > ;; 3
> >
> >
> >
> > -Sam
> >
> > * well, I think that's what's going on.
> >
> > On Fri, Feb 22, 2019 at 1:21 PM Matthias Felleisen <
> m
Dear all,
first of all, I might being misusing the terminology. Sorry about it.
I would like to write a macro that gets an identifier and return its value
in the new lexical scope created by the macro.
For example:
> (define-syntax (my-macro stx)
(syntax-parse stx
[(_ x:id) #'(lambda (
2 matches
Mail list logo