diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-17 21:53:46 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-17 21:53:46 +0100 |
commit | 67fdc3157f3bd70891a0f24508534c45362df2ea (patch) | |
tree | 347f4ff9602ce98b0bf9d84ed0fd9c8dc569e60f /2022/lib.lisp | |
parent | 3aa1e31d5b6b358b0701f24a7f33ef166b0914e0 (diff) | |
download | advent-of-code-67fdc3157f3bd70891a0f24508534c45362df2ea.tar.gz advent-of-code-67fdc3157f3bd70891a0f24508534c45362df2ea.tar.bz2 advent-of-code-67fdc3157f3bd70891a0f24508534c45362df2ea.zip |
Finished round 2 of puzzle-8
Diffstat (limited to '2022/lib.lisp')
-rw-r--r-- | 2022/lib.lisp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/2022/lib.lisp b/2022/lib.lisp index 2441481..1d81219 100644 --- a/2022/lib.lisp +++ b/2022/lib.lisp @@ -27,6 +27,8 @@ while line collect line))) +(defun id (x) x) + (defun all (pred lst) (if (not (cdr lst)) (funcall pred (car lst)) |