2.26

练习 2.26 假定已将x和y定义为如下的两个表:

 
(define x (list 1 2 3))
(define y (list 4 5 6))
x
 
#<undef>

解释器对于下面各个表达式将打印出什么结果:

(append x y)
(cons x y)
(list x y)

 
(append x y)
 
(1 2 3 4 5 6)
 
(cons x y)
 
((1 2 3) 4 5 6)
 
(list x y)
 
((1 2 3) (4 5 6))

results matching ""

    No results matching ""