Question : haskell print
Answered by : bread
-- Use 'putStrLn' to print
ghci> putStrLn "Hello World!"
Hello World!
-- Type of 'putStrLn' function
ghci> :t putStrLn
putStrLn :: String -> IO ()
Source : | Last Update : Tue, 03 Nov 20
Answered by : bread
-- Use 'putStrLn' to print
ghci> putStrLn "Hello World!"
Hello World!
-- Type of 'putStrLn' function
ghci> :t putStrLn
putStrLn :: String -> IO ()
Source : | Last Update : Tue, 03 Nov 20