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

Is a class object a valid method specializer?



>> Date: Fri, 15 Mar 91 18:35:59 -0800
>> From: Chris Richardson <cer@Franz.COM>
>> 
>> For example, is (defmethod foo ((x #.(find-class t))) ... ) legal?
>
> Date: Mon, 18 Mar 91 11:49:04 
> From: moon@brazil.cambridge.apple.com (David A. Moon)
>
> No in 88-002R, yes in ANSI Common Lisp.  I don't immediately remember what
> cleanup removed the restriction.

I don't remember any such cleanup, and searching my online copies of the passed
proposals has failed to find one.

I do remember this question being discussed some time ago.  I think the
discussion took place on this (the clos) list, and was triggered by Moon
mentioning a recent extension added to Symbolic's implementation to permit
something like what Chris describes.  My recollection is that such a thing was
considered reasonable, but it may have never gone beyond that (ie. maybe nobody
ever got around to bringing this up for x3j13 to consider).