summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-12-01 19:40:33 +0100
committerAndreas Grois <andi@grois.info>2024-12-01 19:40:33 +0100
commit0a038cd8f528a9ff92daddaa5bc4b432f4fbdc7c (patch)
tree0562adc756e9c5c5a9682f3c40e59c4c6d4b4083 /Main.lean
parent3e9ab8b679faa68bf41addedae1ec0f963ee466a (diff)
Day 15, 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 205e25c..0dab65a 100644
--- a/Main.lean
+++ b/Main.lean
@@ -55,6 +55,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨14,_⟩, Parts.One => try_run_day_part_impl ⟨14,_⟩ Parts.One data
| ⟨14,_⟩, Parts.Two => try_run_day_part_impl ⟨14,_⟩ Parts.Two data
| ⟨15,_⟩, Parts.One => try_run_day_part_impl ⟨15,_⟩ Parts.One data
+ | ⟨15,_⟩, Parts.Two => try_run_day_part_impl ⟨15,_⟩ 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