ghc@9.8

Glasgow Haskell Compiler version 9.8 for compiling Haskell code

brewmacoslinux
Try with needOr install directly
Source

About

Glorious Glasgow Haskell Compilation System

Commands

ghcghcighc-pkghsc2hsrunhaskell

Examples

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