How to Install libghc-stateref-doc in Ubuntu 18.04



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

sudo apt update
sudo apt install libghc-stateref-doc

Description:

abstraction for things that work like IORef; documentation

A collection of type-classes generalizing the read/write/modify operations for stateful variables provided by things like IORef, TVar, &c. Note that The interface has changed a bit from the 0.2.* version. "*Ref" functions are now called "*Reference" and new "*Ref" function exist with simpler signatures. The new Ref existential type provides a convenient monad-indexed reference type, and the HasRef class indicates monads for which there is a default reference type for every referent. . 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/stateref

Version: 0.3-5build1

Section: universe/doc