Maps functions over the bindings in an environment.
system
map-environment env &key variable function block tag
env⇩ |
An environment or nil . |
variable⇩ |
A function designator. |
function⇩ |
A function designator. |
block⇩ |
A function designator. |
tag⇩ |
A function designator. |
The function map-environment
calls variable for each local variable binding in env, function for each local function binding in env, block for each block binding in env and tag for each tag binding in env.
variable is called with the following arguments: name kind info.
name |
A symbol naming a variable. |
kind |
One of :special , :symbol-macro or :lexical , which specifies the kind of binding (see variable-information). |
info |
The symbol-macro expansion if kind is :symbol-macro and is unspecified otherwise. |
function is called with the following arguments: name kind info.
name |
A symbol or list of the form (setf symbol) naming a function. |
kind | |
info |
The macro expansion function if kind is :macro and is unspecified otherwise. |
block is called with the following arguments: name kind info.
name |
A symbol naming a block in a block form. |
kind |
The keyword :block . |
info |
Unspecified. |
tag is called with the following arguments: name kind info.
name |
A symbol or integer naming a tag in a tagbody form. |
kind |
The keyword :tag . |
info |
Unspecified. |
augment-environment
declaration-information
define-declaration
function-information
variable-information
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:47