ghc@9.4

Glasgow Haskell Compiler version 9.4 for compiling Haskell code

brewmacoslinux
Try with needOr install directly
Source

About

Glorious Glasgow Haskell Compilation System

Commands

ghcghcighc-pkgrunghchaddock

Examples

Compile a Haskell source file to an executable$ ghc -o myprogram Main.hs
Start the interactive GHCi REPL for Haskell development$ ghci
Run a Haskell script directly without compilation$ runghc script.hs