aboutsummaryrefslogtreecommitdiff
path: root/2022/lib.lisp
diff options
context:
space:
mode:
Diffstat (limited to '2022/lib.lisp')
-rw-r--r--2022/lib.lisp6
1 files changed, 0 insertions, 6 deletions
diff --git a/2022/lib.lisp b/2022/lib.lisp
index 1d81219..6c55508 100644
--- a/2022/lib.lisp
+++ b/2022/lib.lisp
@@ -29,12 +29,6 @@
(defun id (x) x)
-(defun all (pred lst)
- (if (not (cdr lst))
- (funcall pred (car lst))
- (and (funcall pred (car lst))
- (all pred (cdr lst)))))
-
(defun remove-nth (n lst)
(if (or (null lst) (= n 0))
(cdr lst)