Stephan- Thank you, gen-class is what I needed.
-David
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your
first p
On 18 Apr., 01:51, David McNeil wrote:
> My question is: is there a better way to accomplish this, perhaps
> using a mechanism other than proxy?
>
You can do that with gen-class:
http://richhickey.github.com/clojure/clojure.core-api.html#clojure.core/gen-class.
"... By default, constructors a
When extending a Java class in Clojure, what is a clean way to support
multiple constructors in the base class? Below is a sample of how I
accomplished this. The key point is that the base class has two
constructors and to expose both of these in Clojure I needed to create
two proxies. I used a mac