Add Exercise 2.18
This commit is contained in:
parent
b8690c9e5f
commit
aef78e5af1
@ -123,3 +123,9 @@ and upper bound."
|
||||
(if (null (cdr l))
|
||||
l
|
||||
(last-pair (cdr l))))
|
||||
|
||||
;; Exercise 2.18
|
||||
(defun reverse-user (l)
|
||||
(if (null l)
|
||||
()
|
||||
(append (reverse-user (cdr l)) (list (car l)))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user