Macro solve_through

Source
macro_rules! solve_through {
    ($sols:ty, $up_to:literal) => { ... };
}
Expand description

Run and pretty-print the solutions for all days in the range 1..=N.

In order, the parameters are:

  • Your solution type.
  • The day to solve through. Must be an integer literal due to macro limitations.

Trying to solve through a range with unimplemented solutions will result in a compilation error.