summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-11-29 22:23:40 +0100
committerAndreas Grois <andi@grois.info>2024-11-29 22:23:40 +0100
commit793bc1538543bbfb48704bab071c6719c6da4aa6 (patch)
tree2a5353c70ccbb2c7b5388649ab38ac6ec9a8b853 /Main.lean
parent4848d2516919ab7e5652b20e2b33e7cc39a9d4d9 (diff)
Day14 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 8524869..38ed453 100644
--- a/Main.lean
+++ b/Main.lean
@@ -52,6 +52,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨13,_⟩, Parts.One => try_run_day_part_impl ⟨13,_⟩ Parts.One data
| ⟨13,_⟩, Parts.Two => try_run_day_part_impl ⟨13,_⟩ Parts.Two data
| ⟨14,_⟩, Parts.One => try_run_day_part_impl ⟨14,_⟩ Parts.One data
+ | ⟨14,_⟩, Parts.Two => try_run_day_part_impl ⟨14,_⟩ 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