(rontolisp) docs
← (scheme base)

equal?

(equal? obj1 obj2)

Compares structure: pairs, vectors and bytevectors element by element (a vector never equals a bytevector), strings by their characters, everything else as eqv? does. (equal? 2 2.0) is therefore #f. Records made by define-record-type are compared by identity, not field by field.