[plt-scheme] #%app literal does not match in syntax-case pattern

From: Eli Barzilay (eli at barzilay.org)
Date: Fri Nov 20 19:39:50 EST 2009

On Nov 20, Marco Monteiro wrote:
> One thing I forgot to mention: define, define-values and lambda in
> the code fragments are from the scheme language. If I didn't
> code-walk (or expand on the reader), I wouldn't be able to store the
> expanded code, right?  The problem, in this case, is hygiene (I
> can't replace scheme's define-values because define expands to it)
> and the quote: the code inside it is not expanded.

Yes, if you want the expanded code then you need to expand it -- but
why do you need to walk over the code?  Or maybe you're talking about
some compilation step of the expanded code (which is not what code
walkers are usually used for in CL, at least IIRC).

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!

Posted on the users mailing list.