Si autre affirmation conditionnelle Haskell
main :: IO ()
main = do
let secretNumber = 5
-- conditional statement, all IFs must be accompanied by else
if secretNumber == 5
then putStrLn "correct"
else putStrLn "incorrect"
Renz Carillo