From 25c512d69469714bf754211384c9c4f09d6ef43e Mon Sep 17 00:00:00 2001 From: sloane <1699281+sloanelybutsurely@users.noreply.github.com> Date: Sat, 9 Dec 2023 21:36:01 -0500 Subject: [PATCH] remove types --- 2023/9.hs | 2 -- 1 file changed, 2 deletions(-) diff --git a/2023/9.hs b/2023/9.hs index 3d903af..132c408 100755 --- a/2023/9.hs +++ b/2023/9.hs @@ -2,7 +2,6 @@ import Control.Monad (ap) -parseInput :: String -> [[Integer]] parseInput = map (map read . words) . lines solve str = show (part1', part2') @@ -23,7 +22,6 @@ next = sum . map last . differentiate prev = foldl1 subtract . reverse . map head . differentiate -main :: IO () main = do contents <- getContents putStrLn $ solve contents