chickadee » srfi-160 » @vector-index

@vector-index pred? @vec @vec2 ...procedure

Return the index of the first element of @vec that satisfies pred?.

When multiple vectors are passed, pred? must take the same number of arguments as the number of vectors, and corresponding elements from each vector are passed for each iteration. If the lengths of vectors differ, iteration stops at the end of the shortest one.

SRFI 133