Next: , Previous: , Up: Vectors   [Contents][Index]


8.3 Cutting Vectors

procedure: subvector vector start end

Returns a newly allocated vector that contains the elements of vector between index start (inclusive) and end (exclusive).

procedure: vector-head vector end

Equivalent to

(subvector vector 0 end)
procedure: vector-tail vector start

Equivalent to

(subvector vector start (vector-length vector))