This is the mail archive of the kawa@sourceware.org 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: problems with subclass


Marcelo D. RÃ wrote:
But I need the class not be static.

But does the *module class* need to be non-static? That is only useful if the scm source files contains definitions that need to be specific to one "invocation" - typically, per-thread. Non-static modules are an advanced feature that you most likely don't need.

You almost certainly do want (module-static 'init-run).
Put that at the top of your Scheme file.

it yield

FunctionalAntQueen

to the console

Any idea?

Re-read my previous replay, including the bit about "things are further messed up because the name of the module class is the same as the define-simple-class". -- --Per Bothner per@bothner.com http://per.bothner.com/


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