Haskell: Batteries Included
The Haskell Library Platform (HLP) is the name of a proposed library set that would be the minimum standard for Haskell library support on a system.
More generally, if we want tools as well as libraries, then the simpler name Haskell Platform may be more appropriate.
There are now more than 500 libraries available for Haskell, on hackage. Choosing which libraries to support on a distro is currently done on an ad hoc basis, with significant variation from one distribution to another.
Some, such as Arch Linux, or Gentoo Linux, include as many libraries as possible (typically over 400), while others have the bare minimum required to build ghc and say, darcs and xmonad.
The Haskell community needs to provide direction and blessing to a library set that should be available and adopted, to further encourage Haskell use.
Ensuring that the chosen set of library versions works well together, and with a particular version of GHC (and other tools), is a major goal.
- A discussion took place in June and July 2008 about the direction of the HLP.
- GHC would build against its own core libraries, but would be generally distributed with the HLP.
- The HLP should provide good coverage for all typical tasks one might want to accomplish with the language, given library availability.
- No bottlenecks: release of the HLP should be entirely independent from GHC, and also independent of the development cycle of any individual library or tool.
- cabal-installable libraries with haddocks.
Current library set
This will be on every system, as they're required for GHC to build:
- unix OR Win32
Current libraries available in the 'extralibs' bundle provided with GHC, a descendent of what used to by fptools, with a few additions.
A quick list of key libraries on Hackage, by genre:
- Languages and parsing
Language-processing tools should probably also be considered to be part of the platform. Commonly-needed tools include:
- cabal-install (now known simply as cabal?)
What else might we consider?
- DrIFT or derive
- throw in another compiler - e.g. Hugs?
Public "Haskell Platform Compliant" list
To encourage adoption of the HLP, distributions that support the HLP will be publically listed as e.g. "Haskell Platform Compliant"
What are the next steps to move this process forward? Build distribution packages for the distros listed above, containing the haskell packages listed above?
- extralibs/ core libs
- Python libraries
- Gnome's release process.