diff options
author | Crazazy | 2024-12-02 12:30:22 +0100 |
---|---|---|
committer | Crazazy | 2024-12-02 12:30:22 +0100 |
commit | eec7eaf755d7cb57e85df84b4e6cb8f525bff5e7 (patch) | |
tree | 820f93e6934d2d08380c906ff60effa4bbf975f9 /src/Main.idr | |
parent | 1e8ef84944374626a7670c7bd184b3d1ddf78046 (diff) |
added day 2
part 2 is still not working
Diffstat (limited to 'src/Main.idr')
-rw-r--r-- | src/Main.idr | 2 |
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 () |