From ca7d7317e89b186556d1207ce713f6c0ca9ba783 Mon Sep 17 00:00:00 2001
From: Andreas Grois <andi@grois.info>
Date: Mon, 4 Dec 2023 23:23:05 +0100
Subject: Day 4

I'm particularly proud of part 2.
---
 Main.lean | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'Main.lean')

diff --git a/Main.lean b/Main.lean
index 1a51027..05af8a0 100644
--- a/Main.lean
+++ b/Main.lean
@@ -2,6 +2,7 @@ import «Common»
 import «Day1»
 import «Day2»
 import «Day3»
+import «Day4»
 
 open DayPart
 
@@ -23,6 +24,8 @@ def try_run_day_part (day : Days) (part : Parts) (data : String) : IO String :=
   | ⟨2,_⟩, Parts.Two => impl ⟨2,_⟩ Parts.Two data
   | ⟨3,_⟩, Parts.One => impl ⟨3,_⟩ Parts.One data
   | ⟨3,_⟩, Parts.Two => impl ⟨3,_⟩ Parts.Two data
+  | ⟨4,_⟩, Parts.One => impl ⟨4,_⟩ Parts.One data
+  | ⟨4,_⟩, Parts.Two => impl ⟨4,_⟩ 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
-- 
cgit v1.2.3

