The map Function applies the specified function {proc}
to each value in {vector}. The map function returns a
Vector containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
Structure
The map Function applies the specified function {proc}
to each value in {structure}. The map function returns a
structure containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
Dictionary
The map Function applies the specified function {proc}
to each value in {dictionary}. The map function returns a
structure containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
Directory
The map Function applies the specified function {proc}
to each value in {directory}. The map function returns a
directory containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
Matrix
The map Function applies the specified function {proc}
to each value in {matrix}. The map function returns a
Matrix containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
NumMatrix
The map Function applies the specified function {proc}
to each value in {nummatrix}. The map function returns a
NumMatrix containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
Pair
The map Function applies the specified function {proc}
to each value in the {pair}. The map function returns a
List containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
List
The map Function applies the specified function {proc}
to each value in the {list}. The map function returns a
List containing the result of the each mapping. The function
{proc} must be a function that requires a single argument.
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a Vector.
As a result, each member of the Vector may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{vector}, is equivalent to the following generic loop code:
(loop for i from 0 until (length vector) do (proc vector[i]))
Structure
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a Structure.
As a result, each member of the Structure may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{structure}, is equivalent to the following generic loop code:
(loop for i from 0 until (length structure) do (proc structure[i]))
Dictionary
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a Dictionary.
As a result, each member of the Dictionary may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{dictionary}, is equivalent to the following generic loop code:
(loop for i from 0 until (length dictionary) do (proc dictionary[i]))
Directory
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a Directory.
As a result, each member of the Directory may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{directory}, is equivalent to the following generic loop code:
(loop for i from 0 until (length directory) do (proc directory[i]))
Pair
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each element in a Pair.
The map function is a shortcut to updating elements in a Pair or List
without having to set up a loop and reference each element individually.
For instance, the map function, with arguments of {proc} and {list},
is equivalent to the following generic loop code:
(loop for i from 0 until (length list) do (proc list[i]))
List
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each element in a List.
The map function is a shortcut to updating elements in a Pair or List
without having to set up a loop and reference each element individually.
For instance, the map function, with arguments of {proc} and {list},
is equivalent to the following generic loop code:
(loop for i from 0 until (length list) do (proc list[i]))
Matrix
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a Matrix.
As a result, each Matrix element may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{matrix}, is equivalent to the following generic loop code:
(loop for i from 0 until (length matrix) do (proc matrix[i]))
NumMatrix
The map function is a non-destructive function useful when you want
to apply a native or user-defined function to each member in a NumMatrix.
As a result, each NumMatrix element may be updated by the map function
without having to set up a loop and reference each field individually.
For instance, the map function, with arguments of {proc} and
{matrix}, is equivalent to the following generic loop code:
(loop for i from 0 until (length matrix) do (proc matrix[i]))