How to Install libghc-safe-doc in Ubuntu 18.04



Install libghc-safe-doc by entering the following commands in the terminal:

sudo apt update
sudo apt install libghc-safe-doc

Description:

Documentation for safe library for (pattern match free) functions; documentation

. Partial functions from the base library, such as head and !!, modified to return more descriptive error messages, programmer defined error messages, Maybe wrapped results and default values. These functions can be used to reduce the number of unsafe pattern matches in your code. . This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Homepage: https://github.com/ndmitchell/safe#readme

Version: 0.3.15-1

Section: universe/doc