GHC – the Glasgow Haskell Compilation system (Installation instructions included)

GHC is a state-of-the-art, open source, compiler and interactive environment for the functional language Haskell. Highlights:

* GHC supports the entire Haskell 98 language plus a wide variety of extensions.
* GHC has particularly good support for concurrency and parallelism, including support for Software Transactional Memory (STM).
* GHC generates fast code, particularly for concurrent programs. Take a look at GHC's performance on The Computer Language Benchmarks Game.
* GHC works on several platforms including Windows and most varieties of Unix, and several different processor architectures. There are detailed instructions for porting GHC to a new platform.
* GHC has extensive optimisation capabilities, including inter-module optimisation.
* GHC compiles Haskell code either by using an intermediate C compiler (GCC), or by generating native code on some platforms. The interactive environment compiles Haskell to bytecode, and supports execution of mixed bytecode/compiled programs.
* Profiling is supported, both by time/allocation and various kinds of heap profiling.
* GHC comes with a wide range of libraries.

Haskell is an advanced purely functional programming language. An open source product of more than twenty years of cutting edge research, it allows rapid development of robust, concise, correct software. With strong support for integration with other languages, built-in concurrency and parallelism, debuggers, profilers, rich libraries and an active community, Haskell makes it easier to produce flexible, maintainable high-quality software.

Install GHC in ubuntu 10.10

Open the terminal and run the following command

sudo apt-get install haskell-platform

or

sudo apt-get install ghc6

After installing you check this user guide for more information.

Sponsored Link

Incoming search terms:

Related posts

3 thoughts on “GHC – the Glasgow Haskell Compilation system (Installation instructions included)

  1. I tried installing haskell..by typing sudo apt-get install ghc6..I also tried searching for the ghc package in synaptic package manager…but it wasnt there..cold you please tell me what to do in caveman using computer language to get haskell onto my computer..by the way im using ubuntu 10.04 and my cpu is i386 and its 32 bit..

    [Reply]

Leave a comment

Your email address will not be published. Required fields are marked *