This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
How to define constructors for classes defined using define-simple-class
- From: S D <s dot mailinglists at gmail dot com>
- To: kawa at sources dot redhat dot com
- Date: Sun, 27 Mar 2005 23:30:10 -0800
- Subject: How to define constructors for classes defined using define-simple-class
- Reply-to: S D <s dot mailinglists at gmail dot com>
I know there is a way to use init-keyword: which sort of provides a
mechanism to specify additional arguments to make which as per the
documentation are set using the set-slot! after the object is created.
But if I want to write a class using define-simple-class that inherits
a class with no default constructor, then I have to similarly define a
constructor which takes arguments and pass them to the parent class's
constructor.