aboutsummaryrefslogtreecommitdiff
path: root/aoc-2020-gleam/src/days/day01.gleam
diff options
context:
space:
mode:
authorTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2023-04-05 21:18:32 +0200
committerTomasz Chojnacki <tomaszchojnacki2001@gmail.com>2023-04-05 21:18:32 +0200
commitfeb51c3a6e7eb8a7ac3fa22ac5d12d20e84eb65f (patch)
tree3272bdb35d4f9f76c612f3198b1e94a945e54c71 /aoc-2020-gleam/src/days/day01.gleam
parent4ecfe6624434f15f3ac00142f7a3c4d78bfab3a1 (diff)
downloadgleam_aoc2020-feb51c3a6e7eb8a7ac3fa22ac5d12d20e84eb65f.tar.gz
gleam_aoc2020-feb51c3a6e7eb8a7ac3fa22ac5d12d20e84eb65f.zip
Use new module running and remove the runner
Diffstat (limited to 'aoc-2020-gleam/src/days/day01.gleam')
-rw-r--r--aoc-2020-gleam/src/days/day01.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/aoc-2020-gleam/src/days/day01.gleam b/aoc-2020-gleam/src/days/day01.gleam
index b0daf63..1616cab 100644
--- a/aoc-2020-gleam/src/days/day01.gleam
+++ b/aoc-2020-gleam/src/days/day01.gleam
@@ -20,7 +20,7 @@ fn part2(numbers: List(Int)) -> Int {
solve(numbers, n: 3)
}
-pub fn run() -> Nil {
+pub fn main() -> Nil {
let test = input_util.read_numbers("test01")
let assert 514_579 = part1(test)
let assert 241_861_950 = part2(test)