Changes between Version 2 and Version 3 of Commentary/Libraries


Ignore:
Timestamp:
Jun 3, 2008 2:59:48 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Libraries

    v2 v3  
    11= GHC Commentary: Libraries = 
    22 
    3 All GHC installations contain a set of libraries called the ''boot libraries'', and this set is sufficient to compile GHC. The file `libraries/boot-packages` contains the list of libraries in this set. 
     3All GHC installations contain a set of libraries called the '''boot libraries''', and this set is sufficient to compile GHC. The file `libraries/boot-packages` contains the list of libraries in this set. 
    44 
    55 * At the root of the tree we have '''`ghc-prim`'''. As the name implies this package contains the most primitive types and functions. It only contains a handful of modules, including `GHC.Prim` (which contains `Int#`, `+#`, etc) and `GHC.Bool`, containing the `Bool` datatype. 
     
    99 * Next is the '''`base`''' package. This contains a large number of modules, many of which are in one big cyclic import knot, mostly due to the `Exception` type. This is something that we hope to improve upon, so that base can be split up. 
    1010 
    11 On top of base are a number of other, more specialised packages, whose purpose is generally clear from their name. 
    12 If not, you can get more detail from the descriptions in their Cabal files. 
     11  * On top of base are a number of other, more specialised packages, whose purpose is generally clear from their name. If not, you can get more detail from the descriptions in their Cabal files.  Currently these packages are are: 
     12    * `array` 
     13    * `bytestring` 
     14    * `Cabal` 
     15    * `containers` 
     16    * `directory` 
     17    * `editline` 
     18    * `filepath` 
     19    * `haskell98` 
     20    * `hpc` 
     21    * `integer-gmp` 
     22    * `old-locale` 
     23    * `old-time` 
     24    * `packedstring` 
     25    * `pretty` 
     26    * `process` 
     27    * `random` 
     28    * `template-haskell` 
     29    * `unix` 
     30    * `Win32` 
     31  However the definitive list is in `libraries/boot-packages` 
     32 
     33