You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
307 B
12 lines
307 B
|
|
Exercise 2.53: What would the interpreter print
|
|
in response to evaluating each of the following expressions?
|
|
|
|
|
|
(list 'a 'b 'c)
|
|
(list (list 'george))
|
|
(cdr '((x1 x2) (y1 y2)))
|
|
(cadr '((x1 x2) (y1 y2)))
|
|
(pair? (car '(a short list)))
|
|
(memq 'red '((red shoes) (blue socks)))
|
|
(memq 'red '(red shoes blue socks))
|
|
|