From d3ed2f503e58c604bb85dc3487fda3d1191313b4 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 17 Oct 2023 14:12:46 +0100 Subject: Version control lib.lisp --- 2022/puzzle-3.lisp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '2022/puzzle-3.lisp') diff --git a/2022/puzzle-3.lisp b/2022/puzzle-3.lisp index e2e17cc..56a31b6 100644 --- a/2022/puzzle-3.lisp +++ b/2022/puzzle-3.lisp @@ -1,3 +1,4 @@ +(load "lib.lisp") (defvar input (uiop:read-file-string "3-input")) (defun split-string-in-two (s) @@ -10,9 +11,6 @@ until (null line) collect (split-string-in-two line)))) -(defun string-to-clist (str) - (loop for char across str collect char)) - (defun common-types (s1 s2) (car (intersection (string-to-clist s1) -- cgit v1.2.3-13-gbd6f