guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: define-syntax


From: Ludovic Courtès
Subject: Re: define-syntax
Date: Wed, 16 Jun 2010 00:38:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hey!

Andy Wingo <address@hidden> writes:

> Indeed + does resolve to whatever + was bound to before the definition;
> it's just that when you define the + macro it usually defines at
> compile-time too! By compiling ahead of time and exiting we leave + in
> its pristine state. See also the discussion of
> eval-syntax-expanders-when in psyntax.scm or in
> http://www.scheme.com/csug8/system.html#./system:s78.

Ooh, interesting.  Thanks for the explanation!

(I eventually found out about the problem in my constant folding macro,
where bits of ‘eval-when’ in the right place did the trick.)

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]