This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Quick syncase/syntax-rules question.


Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:

> BTW, I thought you might be interested:
> 
> It *is* possible to get Guile's current syntax-case macro support to
> behave properly within a module, meaning that it recursively expands
> macros.  This is achieved by specifying the syncase module as eval
> transformer.  If you load the following module and use it, the
> exported (foo) will actually expand to 42.
> 
> (define-module (a)
>   :use-syntax (ice-9 syncase))
> 
> (export foo bar)

Right, but I didn't want to have to export bar...

Thanks, though.

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]