fix some issues in aoc template after day 10

This commit is contained in:
Peter Tillemans 2024-12-10 09:23:13 +01:00
parent 4b737d59dc
commit 765c869942

View file

@ -22,12 +22,12 @@ template subtree.
written in lower case. The code looks for these case sensitively. written in lower case. The code looks for these case sensitively.
* aoc * aoc
** common-lisp ** common-lisp
:PROPERTIES: :PROPERTIES:
:org-generate-root: ~/quicklisp/local-projects/aoc :org-generate-root: ~/quicklisp/local-projects/aoc
:org-generate-variable: year day :org-generate-variable: year day
:END :END:
*** src/ *** src/
**** {{year}}/ **** {{year}}/
***** day{{day}}.lisp ***** day{{day}}.lisp
@ -50,12 +50,12 @@ written in lower case. The code looks for these case sensitively.
(defun parse-input (lines) (defun parse-input (lines)
(blocks-to-fs (mapcar #'parse-line lines))) (mapcar #'parse-line lines))
(defparameter input-text (first (test-input 2024 {{day}}))) (defparameter input-text (first (test-input 2024 {{day}})))
(defparameter input-data (parse-input input-text)) (defparameter input-data (parse-input input-text))
(defparameter sample-text "") (defparameter sample-text (aoc:split-lines ""))
(defparameter sample-data (defparameter sample-data
(parse-input sample-text)) (parse-input sample-text))