faustus@yew.Berkeley.EDU (Wayne Christopher) (10/24/89)
I know the type-of operator isn't guaranteed to return the most specific type of an object in Common Lisp for efficiency reasons, but this can sometimes be a real pain in CLOS. For instance, I can't define a print-object function for a superclass that uses the name of the subclasses, since type-of always returns pcl::iwmc-class. Is there any way to get around this, aside from defining a get-object-type method for every class I define? Wayne Christopher
barmar@kulla (Barry Margolin) (10/24/89)
Try CLASS-OF. Barry Margolin, Thinking Machines Corp. barmar@think.com {uunet,harvard}!think!barmar