aref-setter

Sets the array element indicated by a set of indices.

Sets the element of array indicated by indices to the new-value and returns the new-valuearray is modified by this operation.

An error is signaled if the number of indices is not equal to the rank of the array.  An error is signaled if any of the indices are out of bounds for array.  An error is signaled if the array is limited to hold objects of a particular type and the new value is not an instance of that type.

The method for <array> calls element-setter on the array and new value, using as the key the result of applying row-major-index to the array and indices.

Exported from

Modifiers

open

Arguments

new-valueAn instance of <object>.
arrayAn instance of <array>.
#rest indicesInstances of <object>.

Values

new-valueAn instance of <object>.
The class of sequences whose elements are arranged according to a Cartesian coordinate system.
Sets the collection element associated with a particular key.
Returns the row-major index position of an array element.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of all Dylan objects.