I'm doing some Advent of Code stuff, mostly in Rust.
Build with cargo build
as normal.
Run like adventofcode2017 DAY
, i.e. adventofcode2017 1
to run the day 1 solver.
Input is expected on stdin: adventofcode2017 1 < day01.txt
- Refactor some for loops into functional paradigms
- Remove the runtime
assert!
s and instead write tests - Refactor some items (Count iterator, for example) into a util module