Created
June 20, 2011 03:40
-
-
Save klandergren/1035082 to your computer and use it in GitHub Desktop.
sicp exercise 2.25 starting point
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (define test1 '(1 3 (5 7) 9)) | |
| (define test2 '((7))) | |
| (define test3 '(1 (2 (3 (4 (5 (6 7))))))) | |
| ;; testing | |
| (car test1) ;; => 1 | |
| (car (cdr test1)) ;; => 3 | |
| ;; write your code for test1, test2, test3 in | |
| ;; the form above such that they all return 7. | |
| (RESTART 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment