From e75dd3e6ec873339cfc343487b0979f1ce144d3a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 6 Dec 2022 13:17:08 +0200 Subject: [2022] Updated template formatting and added usage of senzill lib --- 2022/template.cl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '2022') 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*) -- cgit v1.2.3