This is the mail archive of the kawa@sources.redhat.com 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: new newbie problem: file dependencies


Dr. M. Luedde wrote:
> how can I load and run mutually dependent files?

Why can't you just load them?

> E.g., I have Scheme files A and B where file A starts as `loader:load
> B' and file B starts as `loader:load A'.

Ah, you mean you want to have another application load either A or B
and have that automatically load the other.  That is not quite
same.

> The `loader:load' procedure first marks a file as locked, then loads
> it, then unlocks it, then marks it as loaded, in order to prevent
> circular loading.

The (require ...) syntax provides similar functionality.

> This works fine on Chez Scheme, MzScheme, MIT Scheme, but not on kawa
> 1.6.98, which complains about undefined symbols.

Can you point me to documentation for loader:load?  I don't see it
in the MzScheme or Chez Scheme manuals.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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