guile-user
[Top][All Lists]
Advanced

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

Re: export in syntax-rules


From: Kevin Ryde
Subject: Re: export in syntax-rules
Date: Sat, 01 Feb 2003 10:49:01 +1000
User-agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.2 (i386-pc-linux-gnu)

Mikael Djurfeldt <address@hidden> writes:
>
> You might want to use #:use-syntax (ice-9 syncase) here instead,
> otherwise syntax-case expansion is only invoked when syntax-case
> macros are called in an s-expression.  That disables singleton macros
> and can cause unexpected errors with regard to scope.

Oh, I see, say "(display foo)" gets foo expanded (as invalid I guess)
under use-syntax, but not under use-modules.

Tricky stuff.  I put use-module without really paying attention to the
doco, and it worked, so I thought no more of it :-).




reply via email to

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