[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MAKUNBOUND vs. special binding
- To: Pavel.pa@Xerox.COM
- Subject: MAKUNBOUND vs. special binding
- From: David A. Moon <Moon@STONY-BROOK.SCRC.Symbolics.COM>
- Date: Thu, 29 Jan 87 23:09 EST
- Cc: Common-Lisp@SAIL.Stanford.EDU
- In-reply-to: <870129-194150-1540@Xerox>
- Line-fold: No
I believe the problem here is just the unfortunate use of the word
"bind" to mean two different things. (1) A variable is bound to
a value when evaluating that variable produces that value, and is
unbound when evaluating that variable is an error. (2) A special
variable is bound when its value has been saved upon entry to a
dynamic extent, and will be restored upon exit. This poor use of
English seems to date back to the earliest days of Lisp, as far as
I can tell, but maybe it's time to deep-six it.
MAKUNBOUND refers to definition 1. Thus the answer to your question is
the innermost binding (definition 1) is undone, while the innermost
binding (definition 2) remains unaffected.