This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Re: new newbie problem: file dependencies
- From: Per Bothner <per at bothner dot com>
- To: Mirko dot Luedde at Computer dot Org
- Cc: kawa at sources dot redhat dot com
- Date: Sat, 11 May 2002 08:28:18 -0700
- Subject: Re: new newbie problem: file dependencies
- References: <20020511074434.89493.qmail@web10308.mail.yahoo.com>
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/