2.2. Version 9.12.2

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.2.1. Compiler

  • Fixed miscompilation of certain division operations (#25653)

2.2.2. 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.12.2

The compiler itself

Cabal-syntax

3.14.1.0

Dependency of ghc-pkg utility

Cabal

3.14.1.0

Dependency of ghc-pkg utility

Win32

2.14.1.0

Dependency of ghc library

array

0.5.8.0

Dependency of ghc library

base

4.21.0.0

Core library

binary

0.8.9.3

Dependency of ghc library

bytestring

0.12.2.0

Dependency of ghc library

containers

0.7

Dependency of ghc library

deepseq

1.5.1.0

Dependency of ghc library

directory

1.3.9.0

Dependency of ghc library

exceptions

0.10.9

Dependency of ghc and haskeline library

file-io

0.1.5

Dependency of directory library

filepath

1.5.4.0

Dependency of ghc library

ghc-boot-th

9.12.2

Internal compiler library

ghc-boot

9.12.2

Internal compiler library

ghc-compact

0.1.0.0

Core library

ghc-experimental

9.1202.0

Core library

ghc-heap

9.12.2

GHC heap-walking library

ghc-internal

9.1202.0

Core library

ghc-platform

0.1.0.0

Internal library

ghc-prim

0.13.0

Core library

ghci

9.12.2

The REPL interface

haskeline

0.8.2.1

Dependency of ghci executable

hpc

0.7.0.2

Dependency of hpc executable

integer-gmp

1.1

Core library

mtl

2.3.1

Dependency of Cabal library

os-string

2.0.7

Dependency of filepath library

parsec

3.1.18.0

Dependency of Cabal library

pretty

1.1.3.6

Dependency of ghc library

process

1.6.25.0

Dependency of ghc library

semaphore-compat

1.0.0

Dependency of ghc library

stm

2.5.3.1

Dependency of haskeline library

template-haskell

2.23.0.0

Core library

terminfo

0.4.1.7

Dependency of haskeline library

text

2.1.2

Dependency of Cabal library

time

1.14

Dependency of ghc library

transformers

0.6.1.2

Dependency of ghc library

unix

2.8.6.0

Dependency of ghc library

xhtml

3000.2.2.1

Dependency of haddock executable

haddock-api

2.30.0

Dependency of haddock executable

haddock-library

1.11.0

Dependency of haddock executable