Procedure vector-copy

(vector-copy vector) => vector

Returns a shallow copy of its argument.

Operations on vector-like structures

(vector-like? object) => boolean
(vector-like-length vector-like) => fixnum
(vector-like-ref vector-like k) => object
(vector-like-set! vector-like k object) => unspecified

A vector-like structure is a low-level representation on which data that are indexable like vectors are built, e.g., vectors, structures, symbols, and ports.

There is no way of constructing a "generic" vector-like structure; use the constructors for the data types mapped onto vector-like structures instead, like make-vector.

The vector-like operations operate on all vector-like structures. All the procedures are integrable.

$Id: vectors.html,v 1.6 1999/11/23 23:33:44 lth Exp $