How to Install and Uninstall ghc-mtl-compat Package on openSUSE Leap
Last updated: December 26,2024
1. Install "ghc-mtl-compat" package
This guide let you learn how to install ghc-mtl-compat on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
ghc-mtl-compat
Copied
2. Uninstall "ghc-mtl-compat" package
Please follow the step by step instructions below to uninstall ghc-mtl-compat on openSUSE Leap:
$
sudo zypper remove
ghc-mtl-compat
Copied
3. Information about the ghc-mtl-compat package on openSUSE Leap
Information for package ghc-mtl-compat:
---------------------------------------
Repository : Main Repository
Name : ghc-mtl-compat
Version : 0.2.2-bp155.2.12
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.5 KiB
Installed : No
Status : not installed
Source package : ghc-mtl-compat-0.2.2-bp155.2.12.src
Upstream URL : https://hackage.haskell.org/package/mtl-compat
Summary : Backported Control.Monad.Except module from mtl
Description :
This package backports the "Control.Monad.Except" module from 'mtl' (if using
'mtl-2.2.0.1' or earlier), which reexports the 'ExceptT' monad transformer and
the 'MonadError' class.
This package should only be used if there is a need to use the
'Control.Monad.Except' module specifically. If you just want the 'mtl' class
instances for 'ExceptT', use 'transformers-compat' instead, since 'mtl-compat'
does nothing but reexport the instances from that package.
Note that unlike how 'mtl-2.2' or later works, the "Control.Monad.Except"
module defined in this package exports all of 'ExceptT''s monad class
instances. Therefore, you may have to declare 'import Control.Monad.Except ()'
at the top of your file to get all of the 'ExceptT' instances in scope.
---------------------------------------
Repository : Main Repository
Name : ghc-mtl-compat
Version : 0.2.2-bp155.2.12
Arch : x86_64
Vendor : openSUSE
Installed Size : 1.5 KiB
Installed : No
Status : not installed
Source package : ghc-mtl-compat-0.2.2-bp155.2.12.src
Upstream URL : https://hackage.haskell.org/package/mtl-compat
Summary : Backported Control.Monad.Except module from mtl
Description :
This package backports the "Control.Monad.Except" module from 'mtl' (if using
'mtl-2.2.0.1' or earlier), which reexports the 'ExceptT' monad transformer and
the 'MonadError' class.
This package should only be used if there is a need to use the
'Control.Monad.Except' module specifically. If you just want the 'mtl' class
instances for 'ExceptT', use 'transformers-compat' instead, since 'mtl-compat'
does nothing but reexport the instances from that package.
Note that unlike how 'mtl-2.2' or later works, the "Control.Monad.Except"
module defined in this package exports all of 'ExceptT''s monad class
instances. Therefore, you may have to declare 'import Control.Monad.Except ()'
at the top of your file to get all of the 'ExceptT' instances in scope.