ghc (lang/ghc) Updated: 7 months 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.12.2 License: BSD GitHub
Maintainers essandess
Categories lang haskell
Homepage https://haskell.org/ghc
Platforms darwin
Variants
  • prebuilt (Install prebuilt binaries. Note: variant `ghc +prebuilt` is used as a fallback when `ghc` cannot be compiled, whereas port `ghc-prebuilt` is necessary to bootstrap Haskell build tools, including port `ghc`.)

Subport(s) (2)


"ghc" depends on

extract (1)
xz
build (25)
fetch (1)
lib (7)
patch (2)

Ports that depend on "ghc"





Port notes

The GHC User Manual is available at:

file://${prefix}/share/doc/ghc-9.12.2/html/index.html
${prefix}/share/doc/ghc-9.12.2/users_guide.pdf

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

Note: variant `ghc +prebuilt` is used as a fallback when `ghc`
cannot be compiled, whereas port `ghc-prebuilt` is necessary to bootstrap
Haskell build tools, including port `ghc`.


Port Health:

Loading Port Health

Installations (30 days)

76

Requested Installations (30 days)

33