How to Install ghc in Ubuntu 18.04



Install ghc by entering the following commands in the terminal:

sudo apt update
sudo apt install ghc

Description:

The Glasgow Haskell Compilation system

The Glorious Glasgow Haskell Compilation system (GHC) is a compiler for Haskell. . Haskell is "the" standard lazy functional programming language. The language definition and additional documentation can be found in the `haskell-doc' package. Alternatively, there is an online version at http://haskell.org/onlinereport/.

Homepage: http://haskell.org/ghc/

Version: 8.0.2-11

Section: universe/haskell