You are viewing a single comment's thread. Return to all comments →
what does this line do?
hello_worlds 1 = putStrLn "Hello World"
I wasn't sure either (new to haskell), but apparently it's a stop condition. (If the input to the function is 1 then it simply does the following: putStrLn "Hello World")