1
0
Fork 0
advent-of-code/2021/README.md
2022-09-21 09:19:53 -04:00

883 B

Advent of Code 2021

Setup

Using asdf:

asdf plugin add erlang
asdf plugin add elixir
asdf install
S M T W T F S
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25

Mix Tasks

  • advent_of_code.gen.solution
  • advent_of_code.solve
  • advent_of_code.fetch_input

Run mix help <task> for details.

AdventOfCode.PuzzleSolver

A behaviour for a solution to a puzzle. Must define a solve/2 callback.

AdventOfCode.PuzzleCase

Case template defining an assert_solution/2 helper.