chickadee » sparse-vectors » sparse-vector->list

sparse-vector->list SPARSE-VECTOR #!optional START ENDprocedure

Returns a list of the consecutive elements in the SPARSE-VECTOR from START to the END or highest element that has been used, if no END specified.

START
integer ; starting spare-vector index, defaults to 0.
END
(or false integer) ; ending spare-vector index, defaults to #f.

Note that the list will also include all the DEFAULT elements for those unset.