| Copyright | (c) Eitan Chatav, 2015 |
|---|---|
| License | PublicDomain |
| Maintainer | eitan.chatav@gmail.com |
| Stability | experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Control.Error.Cont.Util
Description
This module provides utility functions to convert between MaybeContT and
EitherContT computations.
- hush :: EitherContT a l m r -> MaybeContT a m r
- note :: l -> MaybeContT a m r -> EitherContT a l m r
Documentation
hush :: EitherContT a l m r -> MaybeContT a m r Source
Suppress the nothing continuation of an EitherContT
note :: l -> MaybeContT a m r -> EitherContT a l m r Source
Tag the nothing continuation of a MaybeContT