vector->list -- r7rs Definition converter;
vector->list (from vonuvoli);Procedure variants:
((vector-empty) -> (null))
vector-empty;null;((vector-not-empty) -> (list-proper-not-null))
vector-not-empty;list-proper-not-null;((vector range-start) -> (list-proper))
vector;range-start;list-proper;((vector range-start range-end) -> (list-proper))
vector;range-start;range-end;list-proper;scheme:base -- (scheme base);scheme -- (scheme);(vector->list vector) (vector->list vector start) (vector->list vector start end) (list->vector list)The
vector->listprocedure returns a newly allocated list of the objects contained in the elements ofvectorbetweenstartandend. Thelist->vectorprocedure returns a newly created vector initialized to the elements of the listlist.In both procedures, order is preserved.
(vector->list '#(dah dah didah)) ===> (dah dah didah) (vector->list '#(dah dah didah) 1 2) ===> (dah) (list->vector '(dididit dah)) ===> #(dididit dah)
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.
vector-empty;null;vector-not-empty;list-proper-not-null;vector;range-start;list-proper;range-end;