This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
instance?
- From: Chris Dean <ctdean at sokitomi dot com>
- To: Kawa List <kawa at sources dot redhat dot com>
- Date: Sat, 21 Feb 2004 22:14:18 -0800
- Subject: instance?
I'd like to implement an alternate to `instance?' by creating a `?'
method in a define-namespace alias. That is:
(define-namespace date "class:java.util.Date")
(date:? (date:new)) ==> #t
(date:? "hello") ==> #f
I'm having some trouble finding where to add this code. Can you point
me to where 'new' method name is implemented in the Java code?
Regards,
Chris Dean