Package Info

ghc-mtl-compat


Backported Control.Monad.Except module from mtl


Unspecified

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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/mtl-compat

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.2-bp155.2.12 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-mtl-compat
  • ghc-mtl-compat-devel
0.2.2-bp154.1.12 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-mtl-compat
  • ghc-mtl-compat-devel
0.2.1.3-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-mtl-compat
  • ghc-mtl-compat-devel
0.2.1.3-bp150.2.4 info GA Release 2018-07-30 15
  • ppc64le
  • x86-64
  • ghc-mtl-compat
  • ghc-mtl-compat-devel
0.2.1.3-2.4 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-mtl-compat
  • ghc-mtl-compat-devel
0.2.1.3-2.2 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-mtl-compat
  • ghc-mtl-compat-devel