Haskell/GHC

From Cheaha
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

This page is a Generic stub.

You can help by expanding this page..


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

  • GHC supports the entire Haskell 2010 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, Mac, Linux, 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 directly to native code or using LLVM as a back-end. GHC can also generate C code as an intermediate target for porting to new 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 several libraries, and thousands more are available on Hackage.

Project website: http://www.haskell.org/ghc/

Load SGE module

The following Modules files should be loaded for this package:

module load haskell/ghc