(element? 8 (integers-from-to 1 15)) ⇒ #t (element? 20 (integers-from-to 1 15)) ⇒ #fQ: When is an item an element of a list?
A: If it is equal to the head of the list, otherwise
if it is an element of the tail of the list
(define element? ; Q: Will this work?
(lambda (item lst)
(cond ((equal? item (car lst)) #t)
(else (element? item (cdr lst))))))