status-notifier-item-0.2.2.1: A wrapper over the StatusNotifierItem/libappindicator dbus specification

Safe HaskellNone
LanguageHaskell2010

StatusNotifier.Util

Documentation

ifM :: Monad m => m Bool -> m a -> m a -> m a Source #

whenJust :: Monad m => Maybe a -> (a -> m ()) -> m () Source #

maybeToEither :: b -> Maybe a -> Either b a Source #

logErrorWithDefault :: Show a => Logger -> b -> String -> Either a b -> IO b Source #

(<..>) :: Functor f => (a -> b) -> f (f a) -> f (f b) infixl 4 Source #

(<<$>>) :: (a -> IO b) -> Maybe a -> IO (Maybe b) infixl 4 Source #

forkM :: Monad m => (i -> m a) -> (i -> m b) -> i -> m (a, b) Source #

tee :: Monad m => (i -> m a) -> (i -> m b) -> i -> m a Source #

(>>=/) :: Monad m => m a -> (a -> m b) -> m a Source #