Initial commit

This commit is contained in:
2019-12-01 17:58:57 +01:00
parent 57e9a6e7d7
commit 16fdb976d9
4 changed files with 150 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
import System.IO
import Control.Monad
getInts :: FilePath -> IO [Integer]
getInts path = do
contents <- readFile path
let ints = (map read . lines $ contents) :: [Integer]
return ints
main = do
putStrLn "The solution is: "