From: sgf Date: Thu, 27 Jan 2022 20:08:42 +0000 (+0300) Subject: save X-Git-Url: https://gitweb.sgf-dma.tk/?a=commitdiff_plain;h=4073f3d7f25118ea77e7bb80194a4aa086fa74bd;p=aoc-2021.git save --- diff --git a/day6/Day6.hs b/day6/Day6.hs index a073bad..75d8e36 100644 --- a/day6/Day6.hs +++ b/day6/Day6.hs @@ -153,6 +153,7 @@ fishesL ages n readInput :: FilePath -> IO [Int] readInput = fmap (map read . wordsBy (== ',')) . readFile +-- FIXME: Too slow. Use Vector? Or add strictness? runF1 :: FilePath -> IO () runF1 fp = do ages <- readInput fp