some tweaks to aoc template
This commit is contained in:
parent
175b4b1d70
commit
8adf66a7fe
1 changed files with 3 additions and 3 deletions
|
@ -52,7 +52,7 @@ written in lower case. The code looks for these case sensitively.
|
||||||
(defun parse-input (lines)
|
(defun parse-input (lines)
|
||||||
(mapcar #'parse-line lines))
|
(mapcar #'parse-line lines))
|
||||||
|
|
||||||
(defparameter input-text (first (test-input 2024 {{day}})))
|
(defparameter input-text (test-input 2024 {{day}}))
|
||||||
(defparameter input-data (parse-input input-text))
|
(defparameter input-data (parse-input input-text))
|
||||||
|
|
||||||
(defparameter sample-text (aoc:split-lines ""))
|
(defparameter sample-text (aoc:split-lines ""))
|
||||||
|
@ -60,10 +60,10 @@ written in lower case. The code looks for these case sensitively.
|
||||||
(parse-input sample-text))
|
(parse-input sample-text))
|
||||||
|
|
||||||
(defun part1 (data)
|
(defun part1 (data)
|
||||||
nil)
|
(length data))
|
||||||
|
|
||||||
(defun part2 (data)
|
(defun part2 (data)
|
||||||
nil)
|
(length data))
|
||||||
|
|
||||||
(defun solve-day ()
|
(defun solve-day ()
|
||||||
(format t "part1: ~A~%" (part1 input-data))
|
(format t "part1: ~A~%" (part1 input-data))
|
||||||
|
|
Loading…
Reference in a new issue