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

Shrun.Notify.MonadAppleScript

Description

Effect for AppleScript.

Synopsis

Documentation

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

Effect for apple script.

Methods

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

Sends a notification via apple script.

Instances

Instances details
MonadAppleScript IO Source # 
Instance details

Defined in Shrun.Notify.MonadAppleScript

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

Defined in Shrun.ShellT

Methods

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

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

Defined in Shrun.Notify.MonadAppleScript

Methods

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