$ sudo dnf install -y ghc $ ghc –version The Glorious Glasgow Haskell Compilation System, version 8.6.5 main = putStrLn (“Hello, World!”) $ runhaskell main.hs Hello, World! $ ghc main.hs [1 of 1] Compiling Main ( main.hs, main.o ) Linking main … $ ./main Hello, World! $ ghci Prelude> :load main.hs [1 of 1] Compiling […]
Source: LXer – Getting Started with Haskell on Fedora