This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: supporting dynamic/interactive procedure re-definition


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]