Add Exercise 2.17

This commit is contained in:
Tobias Eidelpes 2022-11-05 14:59:04 +01:00
parent a79350dd76
commit b8690c9e5f

View File

@ -118,3 +118,8 @@ and upper bound."
(make-interval (* c (- 1 (/ p 100)))
(* c (+ 1 (/ p 100)))))
;; Exercise 2.17
(defun last-pair (l)
(if (null (cdr l))
l
(last-pair (cdr l))))