chickadee » srfi-196 » vector-range

vector-range vectorprocedure

Returns a range whose elements are those of vector. This procedure runs in O(1) time. The average accessing time of the resulting range is O(1). It is an error to mutate vector.

Example:

(range->list (vector-range #(1 3 5 7 9)))
  ⇒ (1 3 5 7 9)