Sono in vacanza fino al 13 Settembre, senza accesso alle email. A presto!I am currently unavailable; until Sept. 13 I might not be able to read your email and reply to it.Thank you!
Hi Christophe,
> How can I know x is a MyClass object ?
> Is it even a good question ?
Yes. 'isa' for that:
http://software-lab.de/doc/refI.html#isa
> # In the definition:
> (class +MyClass)
> ..
> (dm 'isamyclass> () T)
>
> # The test:
> (try 'isamyclass> x)
This is not so useful, becaus
Hi Erki,
> There is the built-in 'type' that does what you want, I believe.
This is not so useful here, because 'type' returns only the type of the
object itself and does not search its classes and superclasses.
> There is also the built-in 'isa'. It will return the object if it inherits
> from