This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
compilation (and some CLOS)
- To: Kawa Mailing List <kawa at sourceware dot cygnus dot com>
- Subject: compilation (and some CLOS)
- From: balaban ittai <ittaib at cs dot bgu dot ac dot il>
- Date: Thu, 13 Apr 2000 06:34:41 +0200 (IST)
More compilation problems...
I have this innocent little module, tiny_clos.scm.
I compile this, then write some scheme code saying (require <tiny_clos>)
at the top. This code loads fine in the interpreter. When I compile this
code, I get the following:
(compiling scheme_agent_interface.scm)
Internal error while compiling scheme_agent_interface.scm
Argument #0 to `vector-ref' has wrong type (java.lang.Boolean)
at gnu.mapping.WrongType.make(WrongType.java:56)
at tiny_clos.lambda4(tiny_clos.scm, Compiled Code)
at tiny_clos.apply1(tiny_clos.scm, Compiled Code)
at gnu.expr.ModuleMethod.apply1(ModuleMethod.java, Compiled Code)
at tiny_clos.classOf(tiny_clos.scm, Compiled Code)
at tiny_clos.pureSlotRef(tiny_clos.scm, Compiled Code)
at tiny_clos.classDirectSupers(tiny_clos.scm, Compiled Code)
at tiny_clos.apply1(tiny_clos.scm, Compiled Code)
.
.
.
Now, when I change the (require ...) to (load ...) things are fine. ?
BTW Are there recommendations for a source-only CLOS-type thing for Scheme
(/ Kawa)?
Ittai