guile-user
[Top][All Lists]
Advanced

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

Re: Newbie seeks guiding hands.


From: Rob Browning
Subject: Re: Newbie seeks guiding hands.
Date: 23 Mar 2001 16:45:32 -0600
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Gary Benson <address@hidden> writes:

> >   (define-module (benson-project good-bits)
> >     :use-module (ice-9 slib))
> 
> What does the use-module (ice-9 slib) bit mean?

It's saying that this module depends on things that are exported from
the module (ice-9 slib).  It's functionally equivalent (more or less)
to just saying

  (use-modules (ice-9 slib))

which is what I indicated you'd use in some other code to get access
to your module.  i.e.:

> > Now if other code calls
> > 
> >   (use-modules (benson-project good-bits))
> > 
> > they'll be able to use some-global-function, but won't be able to see
> > some-local-function...
> > 
> > Hope this helps.

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



reply via email to

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