2.1. Version 9.8.1

2.1.1. Language

2.1.2. Compiler

  • Added a new warning -Wterm-variable-capture that helps to make code compatible with the future extension RequiredTypeArguments.

  • Rewrite rules now support a limited form of higher order matching when a pattern variable is applied to distinct locally bound variables. For example:

    forall f. foo (\x -> f x)

    Now matches:

    foo (\x -> x*2 + x)

2.1.3. GHCi

2.1.4. Runtime system

  • On POSIX systems that support timerfd, RTS shutdown no longer has to wait for the next RTS ‘tick’ to occur before continuing the shutdown process. See #22692.

2.1.5. base library

2.1.6. ghc-prim library

2.1.7. ghc library

2.1.8. ghc-heap library 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.7 The compiler itself
Cabal-syntax Dependency of ghc-pkg utility
Cabal Dependency of ghc-pkg utility
Win32 Dependency of ghc library
array Dependency of ghc library
base Core library
binary Dependency of ghc library
bytestring Dependency of ghc library
containers 0.6.7 Dependency of ghc library
deepseq Dependency of ghc library
directory Dependency of ghc library
exceptions 0.10.7 Dependency of ghc and haskeline library
filepath Dependency of ghc library
ghc-boot-th 9.7 Internal compiler library
ghc-boot 9.7 Internal compiler library
ghc-compact Core library
ghc-heap 9.7 GHC heap-walking library
ghc-prim 0.10.0 Core library
ghci 9.7 The REPL interface
haskeline 0.8.2 Dependency of ghci executable
hpc Dependency of hpc executable
integer-gmp 1.1 Core library
libiserv 9.7 Internal compiler library
mtl 2.3.1 Dependency of Cabal library
parsec Dependency of Cabal library
pretty Dependency of ghc library
process Dependency of ghc library
stm Dependency of haskeline library
template-haskell Core library
terminfo Dependency of haskeline library
text 2.0.1 Dependency of Cabal library
time 1.12.2 Dependency of ghc library
transformers Dependency of ghc library
unix Dependency of ghc library
xhtml 3000.2.2.1 Dependency of haddock executable