How to Install libghc-newtype-generics-doc in Ubuntu 18.04



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

sudo apt update
sudo apt install libghc-newtype-generics-doc

Description:

Typeclass and set of functions for working with newtypes; documentation

Per Conor McBride, the Newtype typeclass represents the packing and unpacking of a newtype, and allows you to operatate under that newtype with functions such as ala. Generics support was added in version 0.4, making this package a full replacement for the original newtype package, and a better alternative to newtype-th. . This package provides the documentation for a library for the Haskell programming language. See http://www.haskell.org/ for more information on Haskell.

Homepage: http://hackage.haskell.org/package/newtype-generics

Version: 0.5.1-1

Section: universe/doc