guile-devel
[Top][All Lists]
Advanced

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

Re: module naming


From: Rob Browning
Subject: Re: module naming
Date: 07 May 2001 08:51:44 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

thi <address@hidden> writes:

> "(use-modules (foo bar) :no-default-exports)"
> ==
> (resolve-module '(foo bar))

Ahh, I just learned about what resolve-module really does, so I keep
forgetting about it.

>      (use-modules (foo bar) :import-only (something))
>      (import-from (foo bar) :import-only (something-else))
> 
>    etc.  The main use of such a style would probably be auto-generated
>    code.
> 
> assuming you meant "use-modules" in the second form, i think i
> understand what you mean now.  would it be correct to phrase this as:
> "the functionality of "granular import" should also be available as a
> top-level form." ?

Right.  And right about me meaning "use-modules" above as well.

> i propose this approach because i've already written most of the code
> and just need to check it (and its documentation) in.  ;->

:>

-- 
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930



reply via email to

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