add module-{define-keyword!,undefine-keyword!,lookup-keyword}
authorAndy Wingo <wingo@pobox.com>
Sun, 26 Apr 2009 11:10:30 +0000 (13:10 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 26 Apr 2009 11:10:30 +0000 (13:10 +0200)
commit165a7596ee62a2871de8569e3d41ef7f7c925594
tree328028a79be59b91a03d46e6bd66c9e6a7d8ad19
parent00bbb89e9694faac612ecf2e234291df086ebd11
add module-{define-keyword!,undefine-keyword!,lookup-keyword}

* libguile/modules.c (scm_module_local_variable): Allow this to be called
  before modules are booted with #f as the module.

* module/ice-9/boot-9.scm (module-define-keyword!)
  (module-lookup-keyword, module-undefine-keyword!): Well, if syncase
  forces us to allow the keyword bindings to be partitioned from value
  bindings, let's go ahead and do that in boot-9 instead of in
  psyntax. A step on the way to removing `install-global-transformer'.
  (sc-chi): Remove.

* module/ice-9/psyntax.scm (put-global-definition-hook):
  (remove-global-definition-hook, get-global-definition-hook): Use our
  new module-* functions.
  (sc-chi): Remove, no longer needed.

* module/ice-9/psyntax-pp.scm: Regenerated.
libguile/modules.c
module/ice-9/boot-9.scm
module/ice-9/psyntax-pp.scm
module/ice-9/psyntax.scm