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 <http://hackage.haskell.org/package/lifted-base 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 | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
1.0.3.1-bp155.2.17 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
1.0.3.1-bp154.1.13 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
1.0.2.3-bp153.1.20 info | GA Release | 2021-04-08 | 15 SP3 |
|
|
1.0.2.3-bp152.4.13 info | GA Release | 2020-06-16 | 15 SP2 |
|
|
1.0.2.3-bp151.2.2 info | GA Release | 2019-07-17 | 15 SP1 |
|
|
1.0.2.3-bp151.1.10 info | GA Release | 2019-05-31 | 15 SP1 |
|
|
1.0.2.1-bp150.2.4 info | GA Release | 2018-08-01 | 15 |
|
|
1.0.2.1-bp150.2.5 info | GA Release | 2018-07-30 | 15 |
|
|
1.0.1.0-6.7 info | 5585 | 2016-09-14 | 12 GA-SP5 |
|
|
1.0.1.0-6.2 info | 5585 | 2016-09-14 | 12 GA-SP5 |
|
|
1.0.0.5-3.1 info | openSUSE-2016-291 | 2016-07-04 | 12 GA-SP5 |
|
|