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: define namespace question


Dan Stanger wrote:
Is it possible to use define-namespace in a hierarchical manner?
For example I have a java package
a.b.c, which contains classes X, Y and Z.
I would like to declare the namespace u and be able to execute
(define-namespace "a.b.c")
(let ((x (u:X)) (y (u:Y)) (z (u:Z))
  ...
Creating new objects x, y and z.
Is this possible currently in kawa?

Sorry - I overlooked this message when it came in.


The answer is - it doesn't seem to work.
I would like this to work:

(define-alias jutil java.util)
(define x :: jutil:List #!null)

Maybe one day ...
--
	--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]