instance?

Chris Dean ctdean@sokitomi.com
Sun Feb 22 06:14:00 GMT 2004


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



More information about the Kawa mailing list