[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question about "oneof"
- To: info-macl@cambridge.apple.com
- Subject: question about "oneof"
- From: David Neves <neves@aristotle.ils.nwu.edu>
- Date: Thu, 20 Sep 90 17:50:57 CDT
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>