[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


This page is part of the web mail archives of SRFI 43 from before July 7th, 2015. The new archives for SRFI 43 contain all messages, not just those from before July 7th, 2015.

The prototype of vector-find does not specify the function's return value,
which should probably be "value". It might also be mentioned that the return
value is ambiguous with regard to #f, which might be a vector element that
satisfied the predicate, or signal that the end of the vector was reached
without satisfying the predicate.

The return value of vector-find-tail, on the other hand, should probably be
"vector" instead of "value", as the reference implementation will return an
empty vector in case no element satisfied the predicate.

The prototype of vector-any should probably be (vector-any pred? vec1 ...
vecn), otherwise the variable "n" in the following discussion would be
unbound. In many other functions defined in section 4.7, the arity of the
predicate is not specified. Is this deliberate?


Michael Burschik