ashes occur. See the ;;; `duplicate-handlers' global variable below. ;;; ;;; - observers: a list of procedures that get called when the module is ;;; modified. ;;; ;;; - weak-observers: a weak-key hash table of procedures that get called ;;; when the module is modified. See `module-observe-weak' for details. ;;; ;;; In addition, the module may (must?) contain a binding for ;;; `%module-public-interface'. This variable should be bound to a module ;;; representing the exported interface of a module. See the ;;; `module-public-interface' and `module-export!' procedures. ;;; ;;; !!! warning: The interface to lazy binder procedures is going ;;; to be changed in an incompatible way to permit all the basic ;;; module ops to be virtualized. ;;; ;;; (make-module size use-list lazy-binding-proc) => module ;;; module-{obarray,uses,binder}[|-set!] ;;; (module? obj) => [#t|#f] ;;; (module-locally-bound? module symbol) => [#t|#f] ;;; (module-bound? module symbol) => [#t|#f] ;;; (module-symbol-locally-interned? module symbol) => [#t|#f] ;;; (module-symbol-interned? module symbol) => [#t|#f] ;;; (module-local-variable module symbol) => [# | #f] ;;; (module-variable module symbol) => [# | #f] ;;; (module-symbol-binding module symbol opt-value) ;;; => [ | opt-value | an error occurs ] ;;; (module-make-local-var! module symbol) => # ;;; (module-add! module symbol var) => unspecified ;;; (module-remove! module symbol) => unspecified ;;; (module-for-each proc module) => unspecified ;;; (make-scm-module) => module ; a lazy copy of the symhash module ;;; (set-current-module module) => unspecified ;;; (current-module) => # ;;; ;;;