Hello
Jump to navigation
Jump to search
Hello
This is the homepage for the hello package on Hackage, an implementation of the classic "Hello, World" algorithm in Haskell.
Obtaining Hello
First install the Haskell Platform, and then install hello using cabal:
$ cabal install hello
Running Hello
The hello program is run by typing its name at a command prompt:
$ hello Hello World! $
If you have a multicore machine, you might want to compile hello to run in parallel:
$ cabal install hello -f-threaded $ hello +RTS -N $ hello Hello World! $
(note, at the time of writing, hello doesn't actually contain any parallel code so you won't notice a speed improvement. We hope to fix this in a future version of hello.)