summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-09-24 21:11:02 +0200
committerAndreas Grois <andi@grois.info>2024-09-24 21:11:02 +0200
commit5b854b81590f711cbaa0d825bbbddd366fbfbf6a (patch)
treee2a1883684a908afcfbf86395fea89ad2ac3a933 /Main.lean
parentb1c7ab96169f80f62c8f5025cf2ebd74e9128f71 (diff)
Day 12 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 19fdb99..17602fb 100644
--- a/Main.lean
+++ b/Main.lean
@@ -46,6 +46,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨11,_⟩, Parts.One => try_run_day_part_impl ⟨11,_⟩ Parts.One data
| ⟨11,_⟩, Parts.Two => try_run_day_part_impl ⟨11,_⟩ Parts.Two data
| ⟨12,_⟩, Parts.One => try_run_day_part_impl ⟨12,_⟩ Parts.One data
+ | ⟨12,_⟩, Parts.Two => try_run_day_part_impl ⟨12,_⟩ 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