mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
Update haskell.html.markdown
This commit is contained in:
parent
a281916b56
commit
fd2b88e576
@ -307,6 +307,7 @@ Just 1
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn "Hello, sky! " ++ (say Blue)
|
||||
-- putStrLn has type putStrLn :: String -> IO()
|
||||
|
||||
-- It is easiest to do IO if you can implement your program as
|
||||
-- a function from String to String.
|
||||
|
Loading…
Reference in New Issue
Block a user