热门
练习2.17
这道题就比较简单了,直接可以写出如下:
(define (last-pair list)
(if (null? (cdr list))
list
(last-pair (cdr list))))