chickadee » srfi-133 » vector-fold-right

vector-fold-right kons knil vec1 vec2 ...procedure

Similar to vector-fold, but it iterates right to left instead of left to right.

Example:

Convert a vector to a list.

(vector-fold-right (lambda (tail elt) (cons elt tail))
                     '() '#(a b c d))
 ;=> (a b c d)