Wednesday, January 29, 2014

Hello, World!


The Language that I have chosen is Haskell which is a functional language that was first developed in 1990.

Intern level program:

The Hello, World! program is generally the first program that is taught to someone who is learning a new language. In Haskell there is greater flexibility in the creation of this program than in some other languages.

To make my example of the Hello, World! program I opened up notepad and typed main = putStrLn "Hello, World!"


Then I opened up WinGHCi which is a GUI for the Haskell Compiler and I loaded in my helloword.hs (hs is the file extension for a Haskell Program!) and pressed run! Let's take a look at the results:


Success. Simple as that.

Stay tuned for more Haskell Programming.



No comments:

Post a Comment