From 9e699e94e0f297ea0e64418b4bfb6a509275edfe Mon Sep 17 00:00:00 2001 From: Andrew Maier Date: Tue, 7 Dec 2021 22:11:16 +0100 Subject: [PATCH] updated for day 02 --- day02/app/Main.hs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/day02/app/Main.hs b/day02/app/Main.hs index 65ae4a0..26437fb 100644 --- a/day02/app/Main.hs +++ b/day02/app/Main.hs @@ -1,4 +1,9 @@ module Main where +import Day02 (day02Part1, day02Part2) + main :: IO () -main = putStrLn "Hello, Haskell!" +main = do + input <- readFile "./data/input.txt" + putStrLn $ "Part 1: " <> day02Part1 input + putStrLn $ "Part 2: " <> day02Part2 input