Changes between Version 4 and Version 5 of Commentary/Libraries
- Jun 3, 2008 3:01:32 PM (7 years ago)
v4 v5 1 1 = GHC Commentary: Libraries = 2 2 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. 3 All 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 5 The file `libraries/boot-packages` contains the list of boot packages: 4 6 5 7 * 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.