[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue: STACK-LET (Version 1)
- To: Kent M Pitman <KMP@STONY-BROOK.SCRC.Symbolics.COM>
- Subject: Re: Issue: STACK-LET (Version 1)
- From: Scott.Fahlman@B.GP.CS.CMU.EDU
- Date: Mon, 27 Jun 88 15:40:27 EDT
- Cc: Common-Lisp@SAIL.Stanford.EDU
- In-reply-to: Your message of Mon, 27 Jun 88 14:37:00 -0400. <880627143734.6.KMP@RIO-DE-JANEIRO.SCRC.Symbolics.COM>
Is there any reason, aside from compatibility with the current Symbolics
usage, why you prefer
(stack-let ((x (list a b c))) ...body ...)
to
(let ((x (list a b c)))
(declare (dynamic-value x))
... body )
Since the idea is to give advice to the compiler about a specific binding,
it seems to me that a declaration would be more consistent with the rest of
the language than a new special form. For example, that's how we handle
advice about type restrictions. Also, this would allow one to mix dynamic
and non-dynamic bindings in the same LET form.
-- Scott