Ask Input Haskell

[Solved] Ask Input Haskell | Haskell - Code Explorer | yomemimo.com
Question : ask input haskell

Answered by : renz-carillo

main = do putStrLn "Hello, what's your name?" -- print name <- getLine -- "<-" means put input results into name, getLine ask for input putStrLn ("Hey " ++ name ++ ", you rock!") -- print

Source : | Last Update : Sun, 29 May 22

Answers related to ask input haskell

Code Explorer Popular Question For Haskell