ghc (lang/ghc) Updated: 4 months, 3 weeks ago Add to my watchlist

The Glorious Glasgow Haskell Compilation System

The Glasgow Haskell Compiler is a robust, fully-featured, optimising compiler and interactive environment for Haskell 98, GHC compiles Haskell to either native code or C. It implements numerous experimental language extensions to Haskell 98, for example: concurrency, a foreign language interface, multi-parameter type classes, scoped type variables, existential and universal quantification, unboxed types, exceptions, weak pointers, and so on. GHC comes with a generational garbage collector, and a space and time profiler.

Version: 9.6.4 License: BSD GitHub
Maintainers essandess
Categories lang haskell
Platforms darwin
  • prebuilt (This variant is deprecated.)

Subport(s) (2)

"ghc" depends on

extract (1)
build (25)
fetch (1)
lib (6)
patch (2)

Ports that depend on "ghc"

Port notes

The GHC User Manual is available at:


Copy/edit ${prefix}/etc/ghci.conf to your directory ~/.ghc
for a user-specific startup configuration.

Port Health:

Loading Port Health

Installations (30 days)


Requested Installations (30 days)


Livecheck error

Error: cannot check if ghc was updated (regex didn't match)

last updated: 5 hours ago