previous | index | next

Exercise 7.8a, p. 174

Desired behavior:
     (element-of? 'foo '(1 3 5 foo 9)) ⇒ #t

     (element-of? 'bar '(1 3 5 foo 9)) ⇒ #f
     (define element-of?
       (lambda (item lst)
         (if (null? lst)
             #f
             ____ ? _____)))
     

previous | index | next