Newsgroups: comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel-eecis!news.mathworks.com!newsfeed.internetmci.com!news.dacom.co.kr!usenet.seri.re.kr!news.cais.net!news.abs.net!aplcenmp!hall
From: hall@aplcenmp.apl.jhu.edu (Marty Hall)
Subject: Re: instance of two or more classes in CLOS
Message-ID: <DtLyop.F2F@aplcenmp.apl.jhu.edu>
Organization: JHU/APL Research Center, Hopkins P/T CS Faculty
References: <4qr1e4$1i1@sci3.sri.ucl.ac.be>
Date: Wed, 26 Jun 1996 12:58:01 GMT
Lines: 17

In article <4qr1e4$1i1@sci3.sri.ucl.ac.be> manu@tcp.co.uk (Manuel Kolp) writes:
>Can an object be an instance of two or more classes in CLOS?

I'm not certain what you are asking, so I'll try to answer several
possible underlying questions.

It can be a *direct* instance of only one class; MAKE-INSTANCE takes
only a single classname as an argument. That class can have
multiple ancestors of course (inheritance) and even multiple direct
parents (multiple inheritance). The object will be considered an
instance of all of those classes.

See the CLOS section of <http://www.apl.jhu.edu/~hall/lisp.html>
for summarized info on CLOS syntax and common "gotchas". 

						- Marty
(proclaim '(inline skates))
