shrun-0.9: A utility program for running shell commands concurrently.
Safe HaskellNone
LanguageGHC2021

Shrun.Notify.MonadNotifySend

Description

Effect for NotifySend.

Synopsis

Documentation

class Monad m => MonadNotifySend (m :: Type -> Type) where Source #

Effect for notify-send.

Methods

notify :: Text -> m (Maybe ByteString) Source #

Sends a notification via notify-send.

Instances

Instances details
MonadNotifySend IO Source # 
Instance details

Defined in Shrun.Notify.MonadNotifySend

MonadNotifySend m => MonadNotifySend (ShellT env m) Source # 
Instance details

Defined in Shrun.ShellT

Methods

notify :: Text -> ShellT env m (Maybe ByteString) Source #

MonadNotifySend m => MonadNotifySend (ReaderT env m) Source # 
Instance details

Defined in Shrun.Notify.MonadNotifySend

Methods

notify :: Text -> ReaderT env m (Maybe ByteString) Source #