Add Exercise 2.17
This commit is contained in:
parent
a79350dd76
commit
b8690c9e5f
@ -118,3 +118,8 @@ and upper bound."
|
|||||||
(make-interval (* c (- 1 (/ p 100)))
|
(make-interval (* c (- 1 (/ p 100)))
|
||||||
(* c (+ 1 (/ p 100)))))
|
(* c (+ 1 (/ p 100)))))
|
||||||
|
|
||||||
|
;; Exercise 2.17
|
||||||
|
(defun last-pair (l)
|
||||||
|
(if (null (cdr l))
|
||||||
|
l
|
||||||
|
(last-pair (cdr l))))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user