chickadee » srfi-214 » flexvector-skip

flexvector-skip pred? fv1 fv2 ...procedure

Finds and returns the index of the first elements in fv1 fv2 ... that do not satisfy pred?. If all the values in the flexvectors satisfy pred? until the end of the shortest flexvector, this returns #f. flexvector-skip-right is similar, but returns the index of the last elements that do not satisfy pred?, and requires all flexvector arguments to have the same length. Given n arguments fv1 fv2..., pred? should be a function that takes n arguments and returns a single value, interpreted as a boolean.