Changes between Version 4 and Version 5 of Commentary/Libraries


Ignore:
Timestamp:
Jun 3, 2008 3:01:32 PM (6 years ago)
Author:
simonpj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Libraries

    v4 v5  
    11= GHC Commentary: Libraries = 
    22 
    3 All GHC installations contain a set of libraries called the '''boot packages''', 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 packages'''.  They are so called because the boot packages are the ones required for GHC to compile itself (the stage-2 bootstrap compiler).  
     4 
     5The file `libraries/boot-packages` contains the list of boot packages: 
    46 
    57 * 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.