This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Re: Module inclusion question
- To: rgmerk at mira dot net (Robert Graham Merkel)
- Subject: Re: Module inclusion question
- From: Jost Boekemeier <jostobfe at linux dot zrz dot TU-Berlin dot DE>
- Date: 31 Jul 2000 16:14:37 +0200
- Cc: guile at sourceware dot cygnus dot com
- References: <03043263446001@domain4.bigpond.com>
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