Rick Taube <[EMAIL PROTECTED]> writes:

> Im having a problem getting the srfi-1 definition of list-index (which
> is defined in both guile and srfi-1) to stay in effect when I load my
> system from the command line using the -l option.  im not sure what is
> going wrong.

That is actually a 'feature' because of this code in boot-9.scm that
is executed just before the REPL starts:

    ;; so that builtin bindings will be checked first
    (module-use! guile-user-module (resolve-interface '(ice-9 r5rs)))
    (module-use! guile-user-module (resolve-interface '(guile)))

The builtin bindings come from the (guile), and using it last will
shadow all previous bindings.

I agree that this is not really wanted.  So I vote for removing the
last line of the code snippet above.  The (guile) module is used
anyway in every module.  Ok?

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to