update template

This commit is contained in:
xenia 2020-12-12 01:07:11 -05:00
parent a8825b52cb
commit 305fca6002
1 changed files with 6 additions and 7 deletions

View File

@ -4,8 +4,6 @@
;; solution for day @day
;; helper functions here
(define (part1 input)
;; ...
(void))
@ -14,17 +12,18 @@
;; ...
(void))
;; parse input file
(define (parse fname)
(define input (file->... fname))
(void input))
(module+ test
(require rackunit)
;; tests here
(displayln "no tests :("))
(module+ main
(define input (file->... "inputs/@day"))
;; part 1
(define input (parse "inputs/@day"))
(answer @day 1 (part1 input))
;; part 2
(answer @day 2 (part2 input))
(displayln "meow"))