dunai-0.1.1.0: Generalised reactive framework supporting classic, arrowized and monadic FRP.

Safe HaskellSafe
LanguageHaskell2010

Control.Monad.Trans.MSF.Maybe

Contents

Synopsis

Documentation

runMaybeS'' :: Monad m => MSF (MaybeT m) a b -> MSF m a (Maybe b) Source #

Throwing Nothing as an exception ("exiting")

exit :: Monad m => MSF (MaybeT m) a b Source #

exitWhen :: Monad m => (a -> Bool) -> MSF (MaybeT m) a a Source #

exitIf :: Monad m => MSF (MaybeT m) Bool () Source #

maybeExit :: Monad m => MSF (MaybeT m) (Maybe a) a Source #

inMaybeT :: Monad m => MSF (MaybeT m) (Maybe a) a Source #

Catching Maybe exceptions

untilMaybe :: Monad m => MSF m a b -> MSF m b Bool -> MSF (MaybeT m) a b Source #

catchMaybe :: Monad m => MSF (MaybeT m) a b -> MSF m a b -> MSF m a b Source #

Running MaybeT

runMaybeS :: Monad m => MSF (MaybeT m) a b -> MSF m a (Maybe b) Source #