ghc

Haskell compiler and toolchain for compiling Haskell programs

brewmacoslinux
Try with needOr install directly
Source

About

Glorious Glasgow Haskell Compilation System

Commands

ghcghcighc-pkgrunghchsc2hs

Examples

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