ghc@9.2

Glasgow Haskell Compiler version 9.2 for Haskell programming

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 Main.hs
Start interactive Haskell REPL for testing code$ ghci
Run a Haskell script directly without compilation$ runghc script.hs