Haskell Platform

Haskell Platform for Mac OS X

Welcome to Haskell Platform. The platform consists of the Glasgow Haskell Compiler (GHC) and an extensive set of standard libraries and utilities with full documentation.

Documentation

What is Installed

On Mac OS X, the Haskell Platform is installed in two major pieces: GHC and Haskell Platform. They are installed respectively in:

/Library/Frameworks/GHC.framework
/Library/Haskell

Executables are symlinked in /usr/bin and should be available in any shell.

Uninstallation

This and prior versions of GHC and Haskell Platform can be found and then easily removed with the uninstallation command line utility:

/Library/Haskell/bin/uninstall-hs

Simply run it for more information.

Configuring Cabal

The cabal command manages the building and installation of packages, both your own, and those it can fetch from the Hackage repository.

The first time you run cabal, a Mac specific configuration is written into the ~/.cabal directory.

The configuration sets up cabal to install packages with the same layout as those installed with the Platform. Packages installed per user (--user, the default) are placed in a parallel tree in ~/Library/Haskell.

N.B. Built executables will be symlink'd into ~/Library/Haskell/bin, you probably want to add that to your $PATH by adding this line to your ~/.bash_profile:

export PATH="$HOME/Library/Haskell/bin:$PATH"