Started puzzle-8
This commit is contained in:
7
2022/puzzle-8.lisp
Normal file
7
2022/puzzle-8.lisp
Normal file
@@ -0,0 +1,7 @@
|
||||
(load "lib")
|
||||
(defparameter input (uiop:read-file-string "8-input"))
|
||||
(defparameter lines (get-lines input))
|
||||
;; Just converts every line into a sequence of integral digits
|
||||
(defparameter trees
|
||||
(mapcar (lambda (line) (mapcar (lambda (char) (parse-integer (string char))) (string-to-clist line)))
|
||||
lines))
|
||||
Reference in New Issue
Block a user