alternators-1.0.0.0: Handy functions when using transformers.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.Maybe.Extras

Synopsis

Documentation

evalMaybeT :: Functor m => MaybeT m a -> a -> m a Source #

The more useful version is to use evalMaybeT flipped so it can be in a chain of transformer runners, like this evalCont . (evalMaybeT val) This argument ordering is consistent with evalStateT.