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

list->sparse-vector LIST #!optional START DEFAULT BITSprocedure

Returns a sparse-vector with consecutive elements, beginning with START, from those of the LIST.

START
integer ; starting spare-vector index, defaults to 0.
DEFAULT ; * ; value for indices whose elements have not been set, default #f.
BITS ; fixnum ; node length power of 2, default 8.