[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question about "oneof"



This is probably a real stupid question, but here goes.  Why when
I create an object with multiple parents with ONEOF it only gets the
first parent?  I can create an object with multiple parents with
KINDOF.  See below.
-------------------
Welcome to Macintosh Allegro Common Lisp 1.3.2!
? (defobject o1)
O1
? (defobject o2)
O2
? (oneof o1 o2)
#<Object #117, a O1>
? (kindof o1 o2)
#<Object #118, a O1, O2>