nested-ref et al use module-ref-submodule; add -module nested variants
authorAndy Wingo <wingo@pobox.com>
Fri, 23 Apr 2010 13:41:34 +0000 (15:41 +0200)
committerAndy Wingo <wingo@pobox.com>
Sat, 24 Apr 2010 15:41:47 +0000 (17:41 +0200)
commitb910c4ac4ec8c66d1c6495ae958fd76641a32e53
treea4a41fc54e7e72e06e0dd3f923a6e3f3f0ab526c
parent0f27ab8a9e10ccb014a0bfc7fcc984d8d1bf124b
nested-ref et al use module-ref-submodule; add -module nested variants

* module/ice-9/boot-9.scm: Update comments above nested-ref to include
  ref-module and define-module!.
  (nested-ref, nested-set!, nested-define!, nested-remove!): Use
  module-ref-submodule to traverse the module hierarchy.
  (nested-ref-module, nested-define-module!): New functions, like
  nested-ref and nested-define!, but operate on namespaces instead of
  values.
  (local-ref-module, local-define-module): New analogs of local-ref and
  local-define, but for namespaces.
module/ice-9/boot-9.scm