I don't use a distribution with good Haskell packages, or some older students told me that it's a bad idea to rely solely on distribution packages. I also saw something about Cabal, and there's something called Hackage, and then there's the Haskell Platform and GHC. What's going on?

This question is marked "community wiki".

asked 06 Jan '12, 15:08

Troels%20Henriksen's gravatar image

Troels Henri... ♦
5521110
accept rate: 66%

edited 19 Jan '12, 13:06

Martin%20Dybdal's gravatar image

Martin Dybdal ♦♦
1.1k123282


Hackage is a community-run package repository for Haskell packages to which anyone can upload their work. Cabal is a ubiquitous build system for Haskell programs (like Make, only specialised for Haskell) and Cabal-Install is a program built on top of Cabal that provides a command line utility (the cabal program itself), which notably has the ability to automatically download required package dependencies from the Hackage repository.

The Haskell Platform is a bundle of GHC, the most popular Haskell compiler, and some of the most widely used Haskell libraries and tools, and the recommended way to bootstrap a Haskell environment. After the Haskell Platform has been installed, further packages from Hackage can be installed via Cabal, for example by running cabal install sindre at the command line. These will be installed in the .cabal directory (most likely in your home directory) and installation does not require root permissions.

link

answered 06 Jan '12, 15:41

Troels%20Henriksen's gravatar image

Troels Henri... ♦
5521110
accept rate: 66%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×122
×9
×2

Asked: 06 Jan '12, 15:08

Seen: 513 times

Last updated: 19 Jan '12, 13:06

powered by OSQA