[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: declare in with-slots
- To: kempf@Sun.COM
- Subject: Re: declare in with-slots
- From: David N Gray <Gray@DSG.csc.ti.com>
- Date: Thu, 4 Aug 88 13:24:43 CDT
- Cc: Common-Lisp-Object-System@SAIL.STANFORD.EDU
- In-reply-to: Msg of Thu, 04 Aug 88 08:25:30 -0700 from kempf@Sun.COM
- Sender: GRAY@Kelvin.csc.ti.com
> though, as Glenn Kramer has pointed out, the declaration is actually
> redundent because the types can be deduced from the class definition.
That assumes that you know the class of the object expression; the
compiler might know, but a macro would not. The type lookup could be done
at either the WITH-SLOTS or SYMBOL-MACROLET level, but whichever one does
it would have to be a special form.
-- David Gray