ghc-monad-control - Lift control operations, like exception catching, through monad transformers

Property Value
Distribution openSUSE Leap 15.1
Repository openSUSE Oss all
Package filename ghc-monad-control-
Package name ghc-monad-control
Package version
Package release lp151.1.2
Package architecture x86_64
Package type rpm
Category Development/Libraries/Haskell
License BSD-3-Clause
Maintainer -
Download size 23.97 KB
Installed size 85.58 KB
This package defines the type class 'MonadBaseControl', a subset of 'MonadBase'
into which generic control operations such as 'catch' can be lifted from 'IO'
or any other base monad. Instances are based on monad transformers in
'MonadTransControl', which includes all standard monad transformers in the
'transformers' library except 'ContT'.
See the < lifted-base> package
which uses 'monad-control' to lift 'IO' operations from the 'base' library
(like 'catch' or 'bracket') into any monad that is an instance of 'MonadBase'
or 'MonadBaseControl'.
Note that this package is a rewrite of Anders Kaseorg's 'monad-peel' library.
The main difference is that this package provides CPS style operators and
exploits the 'RankNTypes' and 'TypeFamilies' language extensions to simplify
and speedup most definitions.


Package Version Architecture Repository
ghc-monad-control - - -


Name Value - - - - - - - - - - - - -


Name Value
ghc-monad-control =
ghc-monad-control(x86-64) = -


Type URL
Binary Package ghc-monad-control-
Source Package ghc-monad-control-

Install Howto

Install ghc-monad-control rpm package:

# zypper install ghc-monad-control




2018-10-20 - Peter Simons <>
- Use https URL to refer to
2018-07-18 -
- Cosmetic: replace tabs with blanks, strip trailing white space,
and update copyright headers with spec-cleaner.
2018-05-14 -
- Update monad-control to version
* Correct spelling mistake. Courtesy of Edward Betts.
* Support transformers-compat-0.6.
* Added some good documentation. Courtesy of Franz Thoma.
2017-07-11 -
- Update to version
2017-06-19 -
- Update to version
2016-07-10 -
- Update to version revision 0 with cabal2obs.
2016-04-07 -
- update to
- removed useless _service
* Added the functions:
:: (MonadTransControl t, Monad (t m), Monad m)
=> (m (StT t a) -> m (StT t b)) -- ^
- > t m a -> t m b
captureT :: (MonadTransControl t, Monad (t m), Monad m) => t m (StT t ())
captureM :: MonadBaseControl b m => m (StM m ())
2016-01-29 -
- update to
* Support transformers-0.5 & ransformers-compat-0.5.*.
2015-04-21 -
- update to
* Support transformers-compat-0.4.*.
* Unconditionally add ExceptT instances using transformers-compat.
Courtesy of Adam Bergmark.
* Add a base >= 4.5 constraint because monad-control only builds on GHC >= 7.4.
* Use Safe instead of Trustworthy.
This requires a dependency on stm.
* Switch the associated data types StT and StM to associated type synonyms.
This is an API breaking change. To fix your MonadTransControl or
MonadBaseControl instances simply remove the StT or StM constructors
and deconstructors for your monad transformers or monad.
* Add the embed, embed_ and liftBaseOpDiscard functions.
* Support transformers-
* Drop unicode syntax and symbols
2013-10-06 -
- Initial package - version

See Also

Package Description
ghc-monad-control-devel- Haskell monad-control library development files
ghc-monad-logger-0.3.30-lp151.1.4.x86_64.rpm A class of monads which can log messages
ghc-monad-logger-devel-0.3.30-lp151.1.4.x86_64.rpm Haskell monad-logger library development files
ghc-monad-loops-0.4.3-lp151.3.2.x86_64.rpm Monadic loops
ghc-monad-loops-devel-0.4.3-lp151.3.2.x86_64.rpm Haskell monad-loops library development files
ghc-monadloc-0.7.1-lp151.2.5.x86_64.rpm A class for monads which can keep a monadic call trace
ghc-monadloc-devel-0.7.1-lp151.2.5.x86_64.rpm Haskell monadloc library development files
ghc-mono-traversable- Type classes for mapping, folding, and traversing monomorphic containers
ghc-mono-traversable-devel- Haskell mono-traversable library development files
ghc-mtl-2.2.2-lp151.3.13.x86_64.rpm Haskell mtl library
ghc-mtl-devel-2.2.2-lp151.3.13.x86_64.rpm Haskell mtl library development files
ghc-mustache-2.3.0-lp151.1.4.x86_64.rpm A mustache template parser library
ghc-mustache-devel-2.3.0-lp151.1.4.x86_64.rpm Haskell mustache library development files
ghc-mwc-random- Fast, high quality pseudo random number generation
ghc-mwc-random-devel- Haskell mwc-random library development files