aboutsummaryrefslogtreecommitdiff
path: root/2022
diff options
context:
space:
mode:
authorSyndamia <kamen@syndamia.com>2022-12-06 13:17:08 +0200
committerSyndamia <kamen@syndamia.com>2022-12-06 13:17:08 +0200
commite75dd3e6ec873339cfc343487b0979f1ce144d3a (patch)
treecd2bba09839ba64e20b7a1a71c4545203a7c5dd9 /2022
parentd460a6c891c33aff223df1307c385f106a3fe043 (diff)
downloadadvent-of-code-e75dd3e6ec873339cfc343487b0979f1ce144d3a.tar
advent-of-code-e75dd3e6ec873339cfc343487b0979f1ce144d3a.tar.gz
advent-of-code-e75dd3e6ec873339cfc343487b0979f1ce144d3a.zip
[2022] Updated template formatting and added usage of senzill lib
Diffstat (limited to '2022')
-rw-r--r--2022/template.cl8
1 files changed, 6 insertions, 2 deletions
diff --git a/2022/template.cl b/2022/template.cl
index ea2a2b7..f33661d 100644
--- a/2022/template.cl
+++ b/2022/template.cl
@@ -1,9 +1,13 @@
-(defvar *prog-input*)
+;;; https://gitlab.com/Syndamia/senzill
+(require :senzill)
+(use-package :senzill.collections)
-;;; After running file, if you enter a blank line, code will work on each
+;;; After loading this file, if you enter a blank line, code will work on each
;;; line of input, until "end" is typed.
;;; Otherwise, the input is taken as a filename and code will be executed
;;; over each line in the file until EOF.
+
+(defvar *prog-input*)
(let ((ui (read-line)))
(if (equal ui "")
(setq *prog-input* *standard-input*)