Hello,

I have run into the following problem:

(typep #() (make-instance defclass X () ()))

works and returns NIL.  However,

(typep #() (make-instance 'standard-class
                                   :name 'X
                                   :direct-superclasses ()
                                   :direct-slots ()))

yields an error (bad thing to be type specifier).  Is this a bug or am I
doing something wrong here?  (I want to create programmatic classes as shown
in AMOP.)

Thank you for any help,

Nicolas.


Reply via email to