[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Amendments requiring additional writing
- To: Common-Lisp-Object-System@SAIL.STANFORD.EDU
- Subject: Re: Amendments requiring additional writing
- From: Masinter.pa@Xerox.COM
- Date: 26 Sep 87 16:40 PDT
- In-reply-to: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>'s message of Fri, 25 Sep 87 21:41 EDT
While fixing typep and subtypep to deal with classes seems likely to
preferable to adding instancep and subclassp, attempting to fix type-of
so that it sometimes returns a class and sometimes returns a symbol
seems hopeless, and bad design. type-of is so underconstrained in any
case to be worthless. I think you're better off abandoning it -- e.g.,
implementations can return T if on instances of classes if they need to.
The proponents for disallowing careless name->value mappings will likely
be unhappy with the polymorphic typep and subtypep; it might be useful
to be able to lexically determine whether they might be used in a given
program.
Does anyone else see a linkage between the function-type proposal and
the form for typep/instancep subtypep/subclassp type-of/class-of?