Previous: , Up: vectors   [Index]


24.16 Miscellaneous functions

Function: %vector-replace vec1 start1 past1 vec2 start2 past2
Macro: vector-replace V1 V2

Replace the selected subvector in vec1 with the selected subvector in vec2. Return a newly allocated vector.

Function: %vector-reverse vec start past
Function: %vector-reverse! vec start past
Macro: vector-reverse V
Macro: vector-reverse! V

Reverse the vector. %vector-reverse returns the result vector and does not alter its vec parameter. %vector-reverse! is the in–place side–effecting variant.