LXer: Getting Started with Haskell on Fedora
by LXer from LinuxQuestions.org on (#55066)
Published at LXer:
$ 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 [...]
Read More...


$ 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 [...]
Read More...