For each expression, write down its type. Give the most specific type you
can: for the expression 8
, number is a better
answer than word.
x
(x)
'(x y z)
8
+
(+ 9 10)
(lambda (x) (word 'super- x))
For each procedure, write down the types of its arguments and its result. Give the most specific types you can.
+
word
sentence
every
For each expression, write down whether it can be evaluated or not (do not write down the value).
(+ 1 2)
(+ 1 'two)
(+ 1 (2))
(word 1 2)
(word 'super 'stitious)
(word '(super stitious))
(every 'super '(duper sonic))
(every (lambda (x) (word 'super- x)) '(duper sonic))
(every '(lambda (x) (word 'super- x)) '(duper sonic))