From eec7eaf755d7cb57e85df84b4e6cb8f525bff5e7 Mon Sep 17 00:00:00 2001 From: Crazazy Date: Mon, 2 Dec 2024 12:30:22 +0100 Subject: added day 2 part 2 is still not working --- src/Main.idr | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Main.idr') 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 () -- cgit 1.4.1-2-gfad0