My Haskell solutions for https://adventofcode.com/2020
Can read input from stdin, a file or fetched from adventofcode.com/DAY/input (saved into a file, to avoid spamming the server). Can choose day from cmdargs.
- Day 1
- Day 2
- Day 3
- Day 4
- Day 5
- Day 6
- Day 7
- Day 8
- Day 9
- Day 10
- Day 11
- Day 12
- Day 13
- Day 14
- Day 15
- Day 16
- Day 17
- Day 18
- Day 19
- Day 20
- Day 21
- Day 22
- Day 23
- Day 24
- Day 25
Usage: <interactive> [--day DAY] [--stdin | --file FILENAME]
Run a advent of code challenge. Default is to run the last implemented
challenge and fetch the corresponding input
Available options:
--day DAY Run challenge for the provided day
--stdin Read from stdin
--file FILENAME Read from input file
-h,--help Show this help text
stack build
From terminal : stack exec aoc2020 -- [cmdargs]
Interactive : stack ghci
and then :main [cmdargs]