As an adolescent I aspired to lasting fame, I craved factual certainty, and I thirsted for a meaningful vision of human life - so I became a scientist. This is like becoming an archbishop so you can meet girls.- Matt Cartmill
what you type | what Scheme prints |
---|---|
`((+ 1 2) ,(+ 1 2) 4) | |
(cons '(a b) '(c (d) e)) | |
(append '((a b) (c d)) '(e f)) | |
(car ''a) | |
(if 1 2 3) |
(rev-noah '(a b c) (d e f)) ; ((c f) (b e) (a d)) (rev-noah '() '()) ; ()Your definition should work (7 points) and be tail recursive (3 points).