Previous section: Operations on Tables
Dylan reference manual -- Operations on Vectors
Operations on Vectors
vector #rest args => vector [Function]
This
function returns a vector of the args, in order.
dimensions vector => sequence [G. F. Method]
Returns
a sequence whose single element is the size of the vector.
element simple-object-vector index #key default => element [G. F. Method]
The
class <simple-object-vector> provides a constant time implementation for
the element function.
element-setter new-element simple-object-vector index [G. F. Method]
=> new-element
The
class <simple-object-vector> provides a constant time
implementation for the element-setter function.
Next section: The Iteration Protocol