Skip to content

Instantly share code, notes, and snippets.

@klandergren
Created June 20, 2011 03:40
Show Gist options
  • Select an option

  • Save klandergren/1035082 to your computer and use it in GitHub Desktop.

Select an option

Save klandergren/1035082 to your computer and use it in GitHub Desktop.
sicp exercise 2.25 starting point
(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