refactoring aoc

This commit is contained in:
2021-07-12 18:41:39 -06:00
parent 991f82f3ae
commit 22a563ae34
19 changed files with 41 additions and 62 deletions

View File

@@ -0,0 +1,7 @@
(defmacro day [num &rest body]
`(#when (+ "day" (Std.string ,num))
(print (+ "day " (Std.string ,num)))
,@body))
(defmacro dayTodo [num]
`(day ,num (print "TODO")))