Next: SRFI-1 Selectors, Previous: SRFI-1 Constructors, Up: SRFI-1
The procedures in this section test specific properties of lists.
Return
#tif obj is a proper list, that is a finite list, terminated with the empty list. Otherwise, return#f.
Return
#tif obj is a dotted list, return#fotherwise. A dotted list is a finite list which is not terminated by the empty list, but some other value.
Return
#tif lst is the empty list(),#fotherwise. If something else than a proper or circular list is passed as lst, an error is signalled. This procedure is recommended for checking for the end of a list in contexts where dotted lists are not allowed.
Return
#tis obj is not a pair,#fotherwise. This is shorthand notation(not (pair?obj))and is supposed to be used for end-of-list checking in contexts where dotted lists are allowed.
Return
#tif all argument lists are equal,#fotherwise. List equality is determined by testing whether all lists have the same length and the corresponding elements are equal in the sense of the equality predicate elt=. If no or only one list is given,#tis returned.