inpStr <- getLine putStrLn $ "Welcome to Haskell, " ++ inpStr ++ "!" ... It takes a parameter of type String and returns value of type IO () .
確定! 回上一頁