add submodule binders
authorAndy Wingo <wingo@pobox.com>
Fri, 23 Apr 2010 14:31:09 +0000 (16:31 +0200)
committerAndy Wingo <wingo@pobox.com>
Sat, 24 Apr 2010 15:42:01 +0000 (17:42 +0200)
commit81fc66cfb665814d9cfd766b3c19be90ae1b13ec
tree0e10d75bc6edb8d94c8860915bc0e4b1be726396
parentf6a5308b03f30872a1973a6d40116a636fa52b11
add submodule binders

* module/ice-9/boot-9.scm (module-submodule-binder)
  (set-module-submodule-binder!): New field on modules.
  (make-module, make-autoload-interface): Adapt.
  (module-ref-submodule): If we miss the submodules table, call the
  submodules binder, if any.

* module/ice-9/deprecated.scm (module-ref-submodule): Check the
  submodule binder before the deprecated look into the obarray.
module/ice-9/boot-9.scm
module/ice-9/deprecated.scm