************************************************************** Results for Exercise 7.4 Assertion OK: (equal? (integers-from-to 2 7) '(2 3 4 5 6 7)) Assertion OK: (equal? (integers-from-to 25 37) '(25 26 27 28 29 30 31 32 33 34 35 36 37)) ************************************************************** Results for Exercise 7.6a Assertion OK: (= (count 3 '(2 4 6 8 10)) 0) Assertion OK: (= (count 3 '(3 2 3 4 5 4 3 2 3)) 4) Assertion OK: (= (count 'the '(the quick brown fox jumped over the lazy dog the)) 3) ************************************************************** Results for Exercise 7.6b Assertion OK: (= (count-satisfying odd? '(1 2 3 4 5 6 7 8 9)) 5) Assertion OK: (= (count-satisfying (lambda (n) (= (remainder n 2) 1)) '(1 2 3 4 5 6 7 8 9)) 5) ************************************************************** Results for Exercise 7.7 Assertion OK: (equal? (my-list-ref '(are we having fun yet) 0) 'are) Assertion OK: (equal? (my-list-ref '(are we having fun yet) 4) 'yet) Assertion OK: (equal? (my-list-ref '(are we having fun yet) -1) '!!!ERROR!!!) Assertion OK: (equal? (my-list-ref '(are we having fun yet) 5) '!!!ERROR!!!) ************************************************************** Results for Exercise 7.8e Assertion OK: (= (position 'are '(are we having fun yet)) 0) Assertion OK: (= (position 'having '(are we having fun yet)) 2) Assertion OK: (= (position 'yet '(are we having fun yet)) 4) Assertion OK: (= (position 'foo '(are we having fun yet)) -1)