chickadee » srfi-133 » vector-ref

vector-ref vec iprocedure

[R7RS-small] Vector element dereferencing: returns the value that the location in vec at i is mapped to in the store. Indexing is based on zero. i must be within the range [0, (vector-length vec)).

Example:

(vector-ref '#(a b c d) 2) ;=> c