2.1. Version 9.16.1¶
The significant changes to the various parts of the compiler are listed in the following sections. See the migration guide on the GHC Wiki for specific guidance on migrating programs to this release.
2.1.1. Language¶
2.1.2. Compiler¶
Code coverage’s (
-fhpc
) treatment of record fields now extends beyond record fields accessed viaRecordWildCards
andNamedFieldPuns
, and also handles access to nested record fields. That is, in a pattern such asFoo{bar = Bar{baz = b}}
bothbar
andbaz
will now be marked as covered ifb
is evaluated. Note that this currently only works when record fields (or values contained within them) are bound to variables. The very similar patternFoo{bar = Bar{baz = 42}}
will will not yet markbar
orbaz
as covered.
2.1.3. GHCi¶
2.1.4. Runtime system¶
2.1.5. Cmm¶
2.1.6. base
library¶
2.1.7. ghc-prim
library¶
2.1.8. ghc
library¶
2.1.9. ghc-heap
library¶
2.1.10. ghc-experimental
library¶
2.1.11. template-haskell
library¶
2.1.12. Included libraries¶
The package database provided with this distribution also contains a number of packages other than GHC itself. See the changelogs provided with these packages for further change information.
Package | Version | Reason for inclusion |
---|---|---|
ghc |
9.15 | The compiler itself |
Cabal-syntax |
3.16.0.0 | Dependency of |
Cabal |
3.16.0.0 | Dependency of |
Win32 |
2.14.2.1 | Dependency of |
array |
0.5.8.0 | Dependency of |
base |
4.22.0.0 | Core library |
binary |
0.8.9.3 | Dependency of |
bytestring |
0.12.2.0 | Dependency of |
containers |
0.8 | Dependency of |
deepseq |
1.5.1.0 | Dependency of |
directory |
1.3.10.0 | Dependency of |
exceptions |
0.10.9 | Dependency of |
file-io |
0.1.5 | Dependency of |
filepath |
1.5.4.0 | Dependency of |
ghc-boot-th |
9.15 | Internal compiler library |
ghc-boot |
9.15 | Internal compiler library |
ghc-compact |
0.1.0.0 | Core library |
ghc-heap |
9.15 | GHC heap-walking library |
ghc-prim |
0.13.1 | Core library |
ghci |
9.15 | The REPL interface |
haskeline |
0.8.3.0 | Dependency of |
hpc |
0.7.0.2 | Dependency of |
integer-gmp |
1.1 | Core library |
mtl |
2.3.1 | Dependency of |
os-string |
2.0.7 | Dependency of |
parsec |
3.1.18.0 | Dependency of |
pretty |
1.1.3.6 | Dependency of |
process |
1.6.26.1 | Dependency of |
stm |
2.5.3.1 | Dependency of |
template-haskell |
2.24.0.0 | Core library |
terminfo |
0.4.1.7 | Dependency of |
text |
2.1.3 | Dependency of |
time |
1.15 | Dependency of |
transformers |
0.6.1.2 | Dependency of |
unix |
2.8.7.0 | Dependency of |
xhtml |
3000.2.2.1 | Dependency of |
haddock-api |
2.30.0 | Dependency of |
haddock-library |
1.11.0 | Dependency of |