Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: SRFI-43   [Contents][Index]


7.5.30.2 SRFI-43 Predicates

Scheme Procedure: vector? obj

Return true if obj is a vector, else return false.

Scheme Procedure: vector-empty? vec

Return true if vec is empty, i.e. its length is 0, else return false.

Scheme Procedure: vector= elt=? vec …

Return true if the vectors vec … have equal lengths and equal elements according to elt=?. elt=? is always applied to two arguments. Element comparison must be consistent with eq? in the following sense: if (eq? a b) returns true, then (elt=? a b) must also return true. The order in which comparisons are performed is unspecified.