devel/hs-mtl-compat 0.2.2nb8 NetBSD
Backported Control.Monad.Except module from mtl
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- devel
- Package size
- 5.8 KiB, 3.0 KiB installed
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.
Install
Binary package:
pkgin install hs-mtl-compat
From pkgsrc:
cd /usr/pkgsrc/devel/hs-mtl-compat && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.2.2nb8 |
| NetBSD 10.1 aarch64 | 0.2.2nb8 |
| SmartOS / illumos x86_64 | 0.2.2nb8 |
| macOS 15 arm64 | 0.2.2nb8 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.