Answers for "haskell how to print string"

C
3

haskell print

-- Use 'putStrLn' to print

ghci> putStrLn "Hello World!"
Hello World!

-- Type of 'putStrLn' function
ghci> :t putStrLn  
putStrLn :: String -> IO ()
Posted by: Guest on October-27-2020

Code answers related to "C"

Browse Popular Code Answers by Language