ghc@9.12

Glasgow Haskell Compiler version 9.12 for compiling Haskell code

brewmacoslinux
Try with needOr install directly
Source

About

Glorious Glasgow Haskell Compilation System

Commands

ghcghcighc-pkghsc2hsrunghc

Examples

Compile a Haskell source file to an executable$ ghc -o myprogram myprogram.hs
Start an interactive Haskell REPL session$ ghci
Run a Haskell script directly without compilation$ runghc myscript.hs