This is the mail archive of the guile@sources.redhat.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: Module inclusion question


Robert Graham Merkel <rgmerk@mira.net> writes:

> Sorry if this is a FAQ, but I did try an archive search and the
> documentation:
> 
> If I have a module foo, and a module bar, how can I set things up so
> that a script with a (use-modules (foo)) command also automatically 
> gets the functions defined-public in module bar?

I think this is called re-export in guile's current module system.
You simply change `use-modules (foo)' to `use-modules (foo bar)' and
adjust foo's export clause.  Yes, it's ugly but I think this is how
the current module system works.


Jost

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