From: Wayne Christopher
Subject: Finding the class of an object in CLOS
Date: 
Message-ID: <18732@pasteur.Berkeley.EDU>
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
From: Barry Margolin
Subject: Re: Finding the class of an object in CLOS
Date: 
Message-ID: <31023@news.Think.COM>
Try CLASS-OF.
Barry Margolin, Thinking Machines Corp.

······@think.com
{uunet,harvard}!think!barmar