How to Install and Uninstall ghc-stateref Package on openSUSE Leap

Last updated: May 20,2024

1. Install "ghc-stateref" package

Here is a brief guide to show you how to install ghc-stateref on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-stateref

2. Uninstall "ghc-stateref" package

This guide covers the steps necessary to uninstall ghc-stateref on openSUSE Leap:

$ sudo zypper remove ghc-stateref

3. Information about the ghc-stateref package on openSUSE Leap

Information for package ghc-stateref:
-------------------------------------
Repository : Main Repository
Name : ghc-stateref
Version : 0.3-bp155.2.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 149.9 KiB
Installed : No
Status : not installed
Source package : ghc-stateref-0.3-bp155.2.13.src
Upstream URL : https://hackage.haskell.org/package/stateref
Summary : Abstraction for things that work like IORef
Description :
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.