summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-12-16 22:04:31 +0100
committerAndreas Grois <andi@grois.info>2024-12-16 22:04:31 +0100
commit8f1a6c619a238531aed9dd3f4479d658fcf1d101 (patch)
treeea81a65aafc227b1dd406e073e40ad3fed96fb2d /Main.lean
parent3a125fab0a8e6a92ae55e534d4ea446ad01815e5 (diff)
Day 16 Part 2
Diffstat (limited to 'Main.lean')
-rw-r--r--Main.lean1
1 files changed, 1 insertions, 0 deletions
diff --git a/Main.lean b/Main.lean
index 29e7314..cea5348 100644
--- a/Main.lean
+++ b/Main.lean
@@ -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