Next: vectors filter, Previous: vectors prefix, Up: vectors [Index]
Search through the subvector from the left or right, returning the index
of the first occurrence of an item which satisfies the predicate
pred. If no match is found: Return #f
.
Search through the vector from the left or right, returning the index of
the first occurrence of an item which does not satisfy the predicate
pred. If no match is found: Return #f
.
Return a count of the number of items in vec that satisfy the pred argument.
Return true if the selected subvector of vec1 contains the
selected subvector of vec2, else return #f
. The return
value is the index in vec1 where the subvector of vec2
occurs.
Similar to vector-index
and vector-index-right
, but
instead of searching left to right or right to left, perform a binary
search. cmp should be a procedure of two arguments and return:
An example cmp might be:
(lambda (char1 char2) (cond ((char<? char1 char2) -1) ((char=? char1 char2) 0) (else 1)))
Next: vectors filter, Previous: vectors prefix, Up: vectors [Index]