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

Last updated: November 23,2024

1. Install "ghc-monadloc" package

Please follow the instructions below to install ghc-monadloc on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-monadloc

2. Uninstall "ghc-monadloc" package

Please follow the guidelines below to uninstall ghc-monadloc on openSUSE Leap:

$ sudo zypper remove ghc-monadloc

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

Information for package ghc-monadloc:
-------------------------------------
Repository : Main Repository
Name : ghc-monadloc
Version : 0.7.1-bp155.2.13
Arch : x86_64
Vendor : openSUSE
Installed Size : 34.8 KiB
Installed : No
Status : not installed
Source package : ghc-monadloc-0.7.1-bp155.2.13.src
Upstream URL : https://hackage.haskell.org/package/monadloc
Summary : A class for monads which can keep a monadic call trace
Description :
This package defines a class for monads which can keep a monadic call trace.
* See the blog post

for more information.
A preprocessor is available (see the package monadloc-pp) which inserts calls
to "Control.Monad.Loc.withLoc" before every monadic statement in a module.
To invoke the preprocessor, add the pragma 'OPTIONS_GHC -F -pgmF MonadLoc' at
the top of your Haskell files together with an import for the
"Control.Monad.Loc" module
This package provides no implementation of the "Control.Monad.Loc.MonadLoc"
interface. Currently the only package that does so is
'control-monad-exception', but any other package can implement it and provide
monadic call traces. /Changes/:
* 0.7 - Extracted Template Haskell macro to separate module to allow
'Control.Monad.Loc' to be Safe. (thanks to Deian Stefan)
* 0.6 - Extracted the preprocessor to a separate package 'monadloc-pp' to
minimize the set of dependencies.