User guide lists not all of the libraries shipped with GHC
Summary
GHC User guide doesn't list all of the libraries that GHC ships with itself
Steps to reproduce
When looking into libraries that get installed with GHC e.g. using ghc-pkg
in Stack with GHC resolver list of libraries shown:
$ stack exec --resolver=ghc-8.6.4 -- ghc-pkg list
/home/qrilka/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/lib/ghc-8.6.4/package.conf.d
Cabal-2.4.0.1
array-0.5.3.0
base-4.12.0.0
binary-0.8.6.0
bytestring-0.10.8.2
containers-0.6.0.1
deepseq-1.4.4.0
directory-1.3.3.0
filepath-1.4.2.1
ghc-8.6.4
ghc-boot-8.6.4
ghc-boot-th-8.6.4
ghc-compact-0.1.0.0
ghc-heap-8.6.4
ghc-prim-0.5.3
ghci-8.6.4
haskeline-0.7.4.3
hpc-0.6.0.3
integer-gmp-1.0.2.0
libiserv-8.6.3
mtl-2.2.2
parsec-3.1.13.0
pretty-1.1.3.6
process-1.6.5.0
rts-1.0
stm-2.5.0.0
template-haskell-2.14.0.0
terminfo-0.4.1.2
text-1.2.3.1
time-1.8.0.2
transformers-0.5.6.2
unix-2.7.2.2
xhtml-3000.2.2.1
/home/qrilka/.stack/snapshots/x86_64-linux-tinfo6/ghc-8.6.4/8.6.4/pkgdb
(no packages)
/home/qrilka/.stack/global-project/.stack-work/install/x86_64-linux-tinfo6/ghc-8.6.4/8.6.4/pkgdb
(no packages)
differs from what you see in the user guide for 8.6.4 - https://downloads.haskell.org/~ghc/8.6.4/docs/html/users_guide/8.6.1-notes.html#included-libraries Namely the following libraries are not listed in the guide: ghc-boot-th, ghc-heap, libiserv, pretty, rts, stm and terminfo.
Expected behavior
User guide correctly reflects what gets installed with GHC
Environment
- GHC version used: 8.6.4
- Operating System: Gentoo Linux
- System Architecture: X64