[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Locals, Specials and Binding
- To: info-macl@cambridge.apple.com
- Subject: Locals, Specials and Binding
- From: dmg@goldilocks.LCS.MIT.EDU
- Date: Mon, 11 Mar 91 13:24:40 EST
- In-reply-to: Your message of Fri, 08 Mar 91 14:30:00 -0500. <19910308193045.8.NAHA@LILIKOI.SCRC.Symbolics.COM>
Reply to: Mark Nahabedian <naha@YUKON.SCRC.Symbolics.COM>
It would be a problem if for some reason you declared the uninterned
symbol to be special. I can't think of a reason to do this off the top
of my head.
But still, if you're using the the variable in a LET, the nesting
guarantees that you will not cross bindings because the values
get shadowed.
The real screw case with macro-generated variable generation is accidental
reference to the variable (whether special or local) by a code body. With
this avoided, chances are, you're not going to have a problem, unless
you're doing something you really don't want to be doing anyway.
Can someone come up with a concrete example to refute this?
-david