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]

Re: some questions using callbacks to java


"Paul R. Potts" <potts@umich.edu> writes:

> per, can you give me an example of declaring these?

Look for the section "Declaring Types of Variables" in the manual.
Also read the stuff about modules.

> also, i am not sure what you mean by lexically bound.

I mean that the compiler can at compile-time map a variable reference to
the specific declaration that the variable is bound to.

> i think you're right since inner classes are basically a name-mangling hack,

That is not the case.  Inner classes are *implemented* using a
name-mangling hack.  Inner classes are basically a restricted form
of closure.
-- 
	--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]