[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
subtypep on structures
According to my reading of the common lisp manual (and corroborated by
Allegro CL), defstruct types formed with :INCLUDEs should be subtypes of
the :INCLUDEd structure. So, after defining
(defstruct (bar (:include foo)))
(subtypep 'bar 'foo)
should return T T, not NIL NIL as it does. Note that
properly returns T.
This bug really matters when trying to use structure types for
presentation objects. Any ideas or workarounds?