Programming Fundamentals/Introduction/Haskell

From Wikiversity
Jump to navigation Jump to search

hello.hs[edit | edit source]

-- | This program displays "Hello world!"
-- |
-- | References:
-- |     https://wiki.haskell.org/Haskell_in_5_steps

main = putStrLn "Hello world!"

Try It[edit | edit source]

Copy and paste the code above into one of the following free online development environments or use your own Haskell compiler / interpreter / IDE.

See Also[edit | edit source]