| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Polysemy.ConstraintAbsorber.MonadError
Synopsis
- absorbError :: Member (Error e) r => (MonadError e (Sem r) => Sem r a) -> Sem r a
Documentation
Arguments
| :: Member (Error e) r | |
| => (MonadError e (Sem r) => Sem r a) | A computation that requires an instance of |
| -> Sem r a |
Introduce a local MonadError constraint on Sem --- allowing it to
interop nicely with MTL.
Since: 0.3.0.0