summary refs log tree commit diff
path: root/src/Main.idr
diff options
context:
space:
mode:
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 ()