guile-devel
[Top][All Lists]
Advanced

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

Re: New syntax: (: MODULE-NAME VARIABLE-NAME)


From: Marius Vollmer
Subject: Re: New syntax: (: MODULE-NAME VARIABLE-NAME)
Date: Thu, 13 Nov 2003 21:58:56 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Neil Jerram <address@hidden> writes:

>     Marius>     You don't need to 'use' that module first.
>
> But a use of `:' on a module that hasn't been loaded yet will cause an
> implicit `(use-modules ...)', won't it, which could in turn do
> arbitrary evaluation?  Is so, is this OK?

Good point.  Hmm.  We already have this kind of behavior with the
:autoload option.  In any case, I think we can allow this.  I'd say it
is somewhat like macros, you don't know when they are expanded
exactly, and you have to account for this.  Likewise, you can't know
when a module is loaded, so you need to account for that, too.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405




reply via email to

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