Package: lisp-unit

Function set-equal

Lambda List

set-equal (l1 l2 &key test)


l1 -- a sequence
l2 -- a sequence
test -- a predicate function, the default is equal

Return Value

T or NIL


Compare two sequences to have the same elements. Return true if every element of the sequence l1 is an element of the sequence l2 and vice versa. The number of elements in the sequences can be different.

See also