This commit is contained in:
2025-10-08 13:00:04 +02:00
parent 93c680a033
commit ff6b817b4b
6 changed files with 188 additions and 4 deletions

View File

@ -1,5 +1,11 @@
{-# LANGUAGE LambdaCase #-}
module Main where
import Sudoku
import System.Environment (getArgs)
main :: IO ()
main = do
putStrLn "Hello, Haskell!"
main = getArgs >>= \case
[filename] -> readFile filename >>= print . parseStringToGrid
_ -> error "Usage: Estinen filename"