Unformatted text preview: ’ (a b c)) (map (lambda (x) (let ((x (+ x 1)) (y x)) (* x y))) ’ (2 5)) (cddadr ’ ((a b c d e) (f g h I j) (k l m n o)) Question 2 (4 points): What will scheme print in response to the following expressions? If an expression produces an error message, you may just write “error”; you don’t have to provide the exact text of the message. Also, draw a box and pointer diagram for the value produced by each expression. (list (list 2 (cons 3 5))) (append ’ (5 6 (cons 1 ’ (2 3)))...
View Full Document
- Spring '08
- English-language films, Trigraph, Pen