[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
module-public-interface
From: |
Han-Wen Nienhuys |
Subject: |
module-public-interface |
Date: |
Fri, 01 Jul 2005 13:03:57 +0200 |
User-agent: |
Mozilla Thunderbird 1.0.2-6 (X11/20050513) |
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 - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- module-public-interface,
Han-Wen Nienhuys <=