219 |
internal definitions is the @strong{complete} body of the |
internal definitions is the @strong{complete} body of the |
220 |
@code{let}-expression, the @code{lambda}-expression which gets bound |
@code{let}-expression, the @code{lambda}-expression which gets bound |
221 |
to the variable @code{banana} may refer to the variable @code{apple}, |
to the variable @code{banana} may refer to the variable @code{apple}, |
222 |
even thogh it's definition appears lexically @emph{after} the definition |
even though it's definition appears lexically @emph{after} the definition |
223 |
of @code{banana}. This is because a sequence of internal definition |
of @code{banana}. This is because a sequence of internal definition |
224 |
acts as if it were a @code{letrec} expression. |
acts as if it were a @code{letrec} expression. |
225 |
|
|
262 |
@node Binding Reflection |
@node Binding Reflection |
263 |
@section Querying variable bindings |
@section Querying variable bindings |
264 |
|
|
265 |
Guile provides a procedure for checking wehther a symbol is bound in the |
Guile provides a procedure for checking whether a symbol is bound in the |
266 |
top level environment. If you want to test whether a symbol is locally |
top level environment. If you want to test whether a symbol is locally |
267 |
bound in expression, you can use the @code{bound?} macro from the module |
bound in expression, you can use the @code{bound?} macro from the module |
268 |
@code{(ice-9 optargs)}, documented in @ref{Optional Arguments}. |
@code{(ice-9 optargs)}, documented in @ref{Optional Arguments}. |