guile-devel
[Top][All Lists]
Advanced

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

Re: New command line option --use-srfi


From: Marius Vollmer
Subject: Re: New command line option --use-srfi
Date: 22 May 2001 21:02:18 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Martin Grabmueller <address@hidden> writes:

> > What about making `cond-expand' check the uses list of the module
> > belonging to the code that contains the `cond-expand'.  The SRFI
> > modules could identify themselves via some object property, say.
> 
> I'm not sure how that should work.  Could I just (in the expansion of
> cond-expand) check the uses list of (current-module), or would I need
> to use procedure->syntax and do some module finding magic on the
> passed environment?

You need some module finding magic, I'm afraid, since Guile expands
macros lazily.  I think cond-expand is some special thing, right up
there with eval-when, that will always need to be handled specially.



reply via email to

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