equal?

(equal? obj1 obj2)


Description:

Check to see if two objects are similar.  equal? is the weakest of the equality checks


Arguments:

           obj1 -- any valid scheme object

           obj2 -- any valid scheme object


Returns: boolean


Related: eq? eqv? 


Examples:

(equal? 'a 'a)   => #t

(equal? (list 'a) (list 'a)) => #t



Back to index