supporting dynamic/interactive procedure re-definition
Per Bothner
per@bothner.com
Sun Oct 10 15:04:00 GMT 2010
On 10/09/2010 08:09 AM, Helmut Eller wrote:
> Slightly related question: what is the difference between
> evaluating
> (require "/tmp/foo.scm")
> in the REPL and
> (eval '(require "/tmp/foo.scm") (interaction-environment))
>
> My expectation was that those are equivalent but that's not the case:
> the latter abort with an error "cannot find module foo" while the former
> loads the file as expected.
In the second case we weren't really processing the require.
Should be working now.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
More information about the Kawa
mailing list