summaryrefslogtreecommitdiff
path: root/Main.lean
diff options
context:
space:
mode:
authorAndreas Grois <andi@grois.info>2023-12-06 22:59:06 +0100
committerAndreas Grois <andi@grois.info>2023-12-06 22:59:06 +0100
commit9fb83b22220c825943549bc97bdab457bfad7f5b (patch)
treecd69ed6739aca2d5642f476f5cbc34b6266cdc8b /Main.lean
parentd8bd3fef91f805821a15d6aa3c531f33b3805d10 (diff)
Part 2, finally
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 d335914..b6d152e 100644
--- a/Main.lean
+++ b/Main.lean
@@ -28,6 +28,7 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
| ⟨4,_⟩, Parts.One => impl ⟨4,_⟩ Parts.One data
| ⟨4,_⟩, Parts.Two => impl ⟨4,_⟩ Parts.Two data
| ⟨5,_⟩, Parts.One => impl ⟨5,_⟩ Parts.One data
+ | ⟨5,_⟩, Parts.Two => impl ⟨5,_⟩ 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