Next: , Previous: , Up: vectors   [Index]


24.13 List and vector conversion

Function: %vector->list* vec start past
Macro: vector->list* V

Return a newly allocated list of the items that make up the given subvector. This is an extension of the vector->list function that adds support for subvectors.

Function: %reverse-vector->list vec start past
Macro: reverse-vector->list V

Like %vector->list* but reverses the order of the items from the subvector.

Function: reverse-list->vector char-list

Reverse the given list of items, then compose a vector with the result.

(reverse-list->vector '(#\a #\B #\c))
⇒ #(#\c #\B #\a)