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 11:59:55 -0700
- Subject: Re: new newbie problem: file dependencies
- References: <20020511170721.40933.qmail@web10305.mail.yahoo.com>
Dr. M. Luedde wrote:
> `require' does not seem to be in R5RS, so I implemented some quite
> simple-minded procedures around a "class" or package that I call
> `loader'.
>
> > > This works fine on Chez Scheme, MzScheme, MIT Scheme, but not on
> kawa
> > > 1.6.98, which complains about undefined symbols.
Oh, so loader:load is a procedure you wrote yourself?
Then how I can I comment on it without seeing the code,
example of its use, and the error symptoms?
In any case,you should avoid load in Kawa if you can.
load is a procedure that runs at run-time. Of course
it works, but require is much more attuned to the Kawa
compilation model. (Of course if you want to write
maximally-portable code, that is a different matter.)
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/