Answers for "haskell print type"

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
0

haskell get type

ghci> :t e
--returns type of expression 'e'
Posted by: Guest on February-18-2022

Code answers related to "C"

Browse Popular Code Answers by Language