This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Package for define-simple-class
- From: Chris Dean <ctdean at mercedsystems dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Mon, 17 Feb 2003 21:21:58 -0800
- Subject: Package for define-simple-class
Is there a way to specify what package a class created by
define-simple-class is in? I find myself writing a single .scm file
with multiple classes in it. For example, say we have a file named
happy/utils/Foo.scm with two classes in it:
(define-simple-class <Bar> ()
((my-name) 'Bar)
((square x)
(* x x)))
(define-simple-class <Spam> ()
((my-name) 'Spamtastic)
((cube x)
(* x x x)))
What I want is two classes created in the happy/utils directory within
the package "happy.utils".
I can write some code in define_class.java (or wherever) to add these
features if you'll point me in the right direction.
Thanks!
Regards,
Chris Dean