summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-09-16 17:15:05 +0200
committerAndreas Grois <andi@grois.info>2024-09-16 17:15:05 +0200
commit5be91b845f4cdb5b6df0a31ed525f746a6038a2c (patch)
tree5a74d797e639ef9841e1e3e41d3c9c17b78dc397 /Main.lean
parent17721b8aa7a5b78a80b6d622f90e3c1827bd4676 (diff)
Day 10, 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 8128976..05f34d3 100644
--- a/Main.lean
+++ b/Main.lean
@@ -40,6 +40,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨9,_⟩, Parts.One => try_run_day_part_impl ⟨9,_⟩ Parts.One data
| ⟨9,_⟩, Parts.Two => try_run_day_part_impl ⟨9,_⟩ Parts.Two data
| ⟨10,_⟩, Parts.One => try_run_day_part_impl ⟨10,_⟩ Parts.One data
+ | ⟨10,_⟩, Parts.Two => try_run_day_part_impl ⟨10,_⟩ 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