summary refs log tree commit diff
path: root/src/Main.idr
diff options
context:
space:
mode:
authorCrazazy2024-12-02 12:30:22 +0100
committerCrazazy2024-12-02 12:30:22 +0100
commiteec7eaf755d7cb57e85df84b4e6cb8f525bff5e7 (patch)
tree820f93e6934d2d08380c906ff60effa4bbf975f9 /src/Main.idr
parent1e8ef84944374626a7670c7bd184b3d1ddf78046 (diff)
added day 2
part 2 is still not working
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 e2faf59..c90397f 100644
--- a/src/Main.idr
+++ b/src/Main.idr
@@ -1,6 +1,7 @@
 module Main
 
 import Day1
+import Day2
 import System
 import System.File
 import Data.Fin
@@ -9,6 +10,7 @@ import Data.String
 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]
   _ => "Not implemented yet!"
 
 main : IO ()