summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2024-09-19 20:25:02 +0200
committerAndreas Grois <andi@grois.info>2024-09-19 20:25:02 +0200
commite51fe8383dd629470d3468ed37a9dba09c881b6b (patch)
treeb7c8badc99444fa4df1881d4cfe2c4ca6528ea24 /Main.lean
parent898e58a116a17b8606b05ecfefa68a7880b20eec (diff)
Day11
Diffstat (limited to 'Main.lean')
-rw-r--r--Main.lean2
1 files changed, 2 insertions, 0 deletions
diff --git a/Main.lean b/Main.lean
index 5adfb28..0f87cc0 100644
--- a/Main.lean
+++ b/Main.lean
@@ -42,6 +42,8 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨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
+ | ⟨11,_⟩, Parts.One => try_run_day_part_impl ⟨11,_⟩ Parts.One data
+ | ⟨11,_⟩, Parts.Two => try_run_day_part_impl ⟨11,_⟩ 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