* module-public-interface
@ 2005-07-01 11:03 Han-Wen Nienhuys
0 siblings, 0 replies; only message in thread
From: Han-Wen Nienhuys @ 2005-07-01 11:03 UTC (permalink / raw)
Cc: Jan Nieuwenhuizen
Why is module-public-interface not implemented as a slot in the module
structure? Right now, you get very odd behavior if you define a module A
which uses module B, but doesn't define %module-public-interface.
The %module-public-interface of module A is then aliased to the
%public-interface of B. Reexporting the symbols of A will modify B,
since the %module-public-interface of B is then modified.
I propose to add the following to the definition of make-module,
(set-module-public-interface! module #f)
--
Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-01 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-01 11:03 module-public-interface Han-Wen Nienhuys
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).