summary refs log tree commit diff
path: root/src/Main.idr
diff options
context:
space:
mode:
authorCrazazy2024-12-03 12:05:53 +0100
committerCrazazy2024-12-03 12:05:53 +0100
commit9dfdb20a55fe3ef7763aaee1be7de1b2179c46de (patch)
treeedb05c3731a7ea94c9abb4c50ddc79ca3d85065b /src/Main.idr
parente39685da36d625ce76f8ec376733dc67a80040d8 (diff)
Finish day3 HEAD master
easiest day so far
Diffstat (limited to 'src/Main.idr')
-rw-r--r--src/Main.idr2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.idr b/src/Main.idr
index c90397f..b3b48e6 100644
--- a/src/Main.idr
+++ b/src/Main.idr
@@ -2,6 +2,7 @@ module Main
 
 import Day1
 import Day2
+import Day3
 import System
 import System.File
 import Data.Fin
@@ -11,6 +12,7 @@ runDay : Int -> String -> String
 runDay n inp = case n of
   1 => unlines [Day1.sol1 inp, Day1.sol2 inp]
   2 => unlines [Day2.sol1 inp, Day2.sol2 inp]
+  3 => unlines [Day3.sol1 inp, Day3.sol2 inp]
   _ => "Not implemented yet!"
 
 main : IO ()