update template
This commit is contained in:
parent
a8825b52cb
commit
305fca6002
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue