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:
> `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/


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