Play audio slide show -- Keyboard shortcut: 'x'  Back to notes -- Keyboard shortcut: 'u'              Slide program -- Keyboard shortcut: 't'      A sample interaction using and demonstrating the equivalence functions in Scheme.Lecture 2 - slide 9 : 46
Program 1
1> (eq? (list 'a 'b) (list 'a 'b))
#f

2> (eqv? (list 'a 'b) (list 'a 'b))
#f

3> (equal? (list 'a 'b) (list 'a 'b))
#t

4> (= (list 'a 'b) (list 'a 'b))
=: expects type <number> as 2nd argument, given: (a b); other arguments were: (a b)

5> (string=? "abe" "abe")
#t

6> (equal? "abe" "abe")
#t

7> (eq? "abe" "abe")
#f

8> (eqv? "abe" "abe")
#f