Safe Haskell | None |
---|---|
Language | GHC2021 |
Effect for AppleScript.
Synopsis
- class Monad m => MonadAppleScript (m :: Type -> Type) where
- notify :: Text -> m (Maybe ByteString)
- notifyAppleScript :: (HasCallStack, MonadAppleScript m) => ShrunNote -> m (Maybe NotifyException)
Documentation
class Monad m => MonadAppleScript (m :: Type -> Type) where Source #
Effect for apple script.
Instances
MonadAppleScript IO Source # | |
Defined in Shrun.Notify.MonadAppleScript | |
MonadAppleScript m => MonadAppleScript (ShellT env m) Source # | |
Defined in Shrun.ShellT | |
MonadAppleScript m => MonadAppleScript (ReaderT env m) Source # | |
Defined in Shrun.Notify.MonadAppleScript |
notifyAppleScript :: (HasCallStack, MonadAppleScript m) => ShrunNote -> m (Maybe NotifyException) Source #