Install ghc-doc by entering the following commands in the terminal:
sudo apt update sudo apt install ghc-doc
Description:
Documentation for 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/. . This package includes HTML, DVI and PS versions of the SGML-based documentation around GHC.
Homepage: http://haskell.org/ghc/
Version: 8.0.2-11
Section: universe/doc