This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
RE: Use define-simple-class in macros?
- From: "Dominique Boucher" <dominique dot boucher at nuecho dot com>
- To: "'Per Bothner'" <per at bothner dot com>
- Cc: "'Kawa List'" <kawa at sources dot redhat dot com>
- Date: Tue, 21 Jun 2005 16:34:04 -0400
- Subject: RE: Use define-simple-class in macros?
- Reply-to: <dominique dot boucher at nuecho dot com>
> Unless I'm missing something, this is *supposed* to not work.
> The whole point of macro hygiene is that the "actual macro
> parameter" 'body' is not in the scope of the 'self' defined
> by the 'let'. Think of it as pure lexical scoping: the
> 'self' in the define-simple-class is not lexically in the
> scope of any definition of 'self'.
Of course! I'm so used to low-level macros ... But I should have figured
that out myself. Thanks!
Dominique