Version control lib.lisp

This commit is contained in:
2023-10-17 14:12:46 +01:00
parent 14f428b3a3
commit d3ed2f503e
3 changed files with 31 additions and 4 deletions

View File

@@ -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)