diff options
| author | Andreas Grois <andi@grois.info> | 2024-12-16 22:04:31 +0100 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2024-12-16 22:04:31 +0100 |
| commit | 8f1a6c619a238531aed9dd3f4479d658fcf1d101 (patch) | |
| tree | ea81a65aafc227b1dd406e073e40ad3fed96fb2d /Main.lean | |
| parent | 3a125fab0a8e6a92ae55e534d4ea446ad01815e5 (diff) | |
Day 16 Part 2
Diffstat (limited to 'Main.lean')
| -rw-r--r-- | Main.lean | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -58,6 +58,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String := | ⟨15,_⟩, Parts.One => try_run_day_part_impl ⟨15,_⟩ Parts.One data | ⟨15,_⟩, Parts.Two => try_run_day_part_impl ⟨15,_⟩ Parts.Two data | ⟨16,_⟩, Parts.One => try_run_day_part_impl ⟨16,_⟩ Parts.One data + | ⟨16,_⟩, Parts.Two => try_run_day_part_impl ⟨16,_⟩ Parts.Two data | _, _ => throw $ IO.userError "The requested combination of day/part has not been implemented yet." def main (parameters : List String): IO Unit := do |
