haskell print
snippet in c

haskell print

user2645

-- Use 'putStrLn' to print

ghci> putStrLn "Hello World!"
Hello World!

-- Type of 'putStrLn' function
ghci> :t putStrLn  
putStrLn :: String -> IO ()