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


* Per Bothner [2010-10-09 03:32] writes:

> I (re-)fixed the issue reported below.
>
> It would be good to have a test-case, but it's a bit tedious:
> I.e. the test case has to modify an existing file - which
> probably means it is best to generate both versions using
> Scheme code.  A sleep might be nesssary, too - see the
> lastModifiedCacheTime variable in ModuleManager.

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.

Helmut


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