Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

haskell print

-- Use 'putStrLn' to print

ghci> putStrLn "Hello World!"
Hello World!

-- Type of 'putStrLn' function
ghci> :t putStrLn  
putStrLn :: String -> IO ()  
 
PREVIOUS NEXT
Tagged: #haskell #print
ADD COMMENT
Topic
Name
8+7 =