ghc

Install command:
brew install ghc

Also known as: ghc@9, ghc@9.12

Glorious Glasgow Haskell Compilation System

https://haskell.org/ghc/

License: BSD-3-Clause

Formula JSON API: /api/formula/ghc.json

Formula code: ghc.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
tahoe
sequoia
sonoma
ventura
macOS on
Intel
sonoma
ventura
Linux ARM64
x86_64

Current versions:

stable 9.12.2
head ⚡️ HEAD

Other versions:

ghc@9.10 9.10.3 Glorious Glasgow Haskell Compilation System
ghc@9.8 9.8.4 Glorious Glasgow Haskell Compilation System
ghc@9.6 9.6.7 Glorious Glasgow Haskell Compilation System
ghc@9.4 9.4.8 Glorious Glasgow Haskell Compilation System
ghc@9.2 9.2.8 Glorious Glasgow Haskell Compilation System

Depends on:

gmp 6.3.0 GNU multiple precision arithmetic library

Depends on when building from source:

autoconf 2.72 Automatic configure script builder
automake 1.18.1 Tool for generating GNU Standards-compliant Makefiles
python@3.13 3.13.7 Interpreted, interactive, object-oriented programming language
sphinx-doc 8.2.3 Tool to create intelligent and beautiful documentation
xz 5.8.1 General-purpose data compression with high compression ratio

Analytics:

Installs (30 days)
ghc 1,120
Installs on Request (30 days)
ghc 348
Build Errors (30 days)
ghc 51
Installs (90 days)
ghc 2,594
Installs on Request (90 days)
ghc 972
Installs (365 days)
ghc 17,521
ghc --HEAD 20
Installs on Request (365 days)
ghc 7,665
ghc --HEAD 20