aoc2020/scripts/template.rktrkt

31 lines
438 B
Plaintext

#lang curly-fn racket
(require "scripts/aoc.rkt")
;; solution for day @day
;; helper functions here
(define (part1 input)
;; ...
(void))
(define (part2 input)
;; ...
(void))
(module+ test
(require rackunit)
;; tests here
(displayln "no tests :("))
(module+ main
(define input (file->... "inputs/@day"))
;; part 1
(answer @day 1 (part1 input))
;; part 2
(answer @day 2 (part2 input))
(displayln "meow"))