[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Declarations from macros
- To: COMMON-LISP at SU-AI
- Subject: Declarations from macros
- From: MOON at SCRC-TENEX
- Date: Sun, 19 Sep 1982 04:02:00 -0000
- In-reply-to: The message of 16 Sep 1982 23:39-EDT from Kent M. Pitman <KMP at MIT-MC>
Kent's idea of having macros able to expand into declarations is probably
a good idea. Places that look for declarations are probably all going to
expand macros eventually anyway.
Documentation strings should be treated the same as declarations. It might even
be all right to replace "naked" documentation strings with declarations.
What about a macro that wants to expand into both a declaration and some code,
perhaps initializations of variables? Or do such macros always take a body and
expand into a LET?