Kevin Ryde <[EMAIL PROTECTED]> writes:
> Oh, and I added test-suite/standalone/test-use-srfi exercising this
> stuff. The "guile" in the script is the uninstalled guile during a
> "make check", you might have to search and replace it to
> pre-inst-guile if you want to run outside that.
Sorry for coming late to this discussion.
It seems to me, though, that this is all a matter of ordering, not of
whether the duplicates processing gets invoked. I don't know all the
details of the duplicate processing, but by default I would expect a
later use-modules (or similar operation) to override an earlier one.
Is that what happens?
Then, if it is the case that
$ guile
sets up a standard environment, it seems obvious to me that if one
does
$ guile --srfi=1
the "--srfi=1" should take effect after the standard environment has
been set up.
And then the real problem, as I understand it, would be that the code
in script.c generates code which does the (use-modules (srfi srfi-1))
before the (top-repl).
What do you think? Have I completely misunderstood?
Regards,
Neil
_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel