How to Install and Uninstall ghc-managed Package on openSuSE Tumbleweed

Last updated: November 26,2024

1. Install "ghc-managed" package

Please follow the instructions below to install ghc-managed on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install ghc-managed

2. Uninstall "ghc-managed" package

Please follow the steps below to uninstall ghc-managed on openSuSE Tumbleweed:

$ sudo zypper remove ghc-managed

3. Information about the ghc-managed package on openSuSE Tumbleweed

Information for package ghc-managed:
------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : ghc-managed
Version : 1.0.8-2.12
Arch : x86_64
Vendor : openSUSE
Installed Size : 84,9 KiB
Installed : No
Status : not installed
Source package : ghc-managed-1.0.8-2.12.src
Summary : A monad for managed values
Description :
In Haskell you very often acquire values using the 'with...' idiom using
functions of type '(a -> IO r) -> IO r'. This idiom forms a 'Monad', which is a
special case of the 'ContT' monad (from 'transformers') or the 'Codensity'
monad (from 'kan-extensions'). The main purpose behind this package is to
provide a restricted form of these monads specialized to this unusually common
case.
The reason this package defines a specialized version of these types is to:
* be more beginner-friendly,
* simplify inferred types and error messages, and:
* provide some additional type class instances that would otherwise be orphan
instances.

5. The same packages on other Linux Distributions