You are viewing a single comment's thread. Return to all comments →
I'm learning haskell, if someone have a suggestion or a correction please let me know
hello_worlds 1 = putStrLn "Hello World"
hello_worlds n = do
putStrLn "Hello World"
hello_worlds (n - 1)
main = do
n <- readLn :: IO Int