From: Christophe R. <cs...@ca...> - 2009-05-05 06:22:45
|
Gerard Robin <g.r...@fr...> writes: > Why I can't display the symbol-value of the local variable s ? (during > the call of the function f3) Because symbol-value is defined (by the ANSI standard) to work for constants and special bindings, but _explicitly_ not for lexical ("local") bindings, which is what you have in F3. >From the CLHS page for SYMBOL-VALUE: symbol-value can be used to get the value of a constant variable. symbol-value cannot access the value of a lexical variable. Best, Christophe |