Title here
Summary here
Our first program will print the classic “hello world” message. Here’s the full source code.
To run the program, save the code in a file named HelloWorld.hs
and use runhaskell
to execute it.
Sometimes we’ll want to compile our programs into binaries. We can do this using ghc
.
First, compile the code:
We can then execute the built binary directly.
Now that we can run and build basic Haskell programs, let’s learn more about the language.