navi-0.1: A utility program for sending system notifications.
Safe HaskellSafe-Inferred
LanguageGHC2021

Navi.Effects.MonadSystemInfo

Description

Provides an effect for querying system information.

Synopsis

Documentation

class Monad m => MonadSystemInfo m where Source #

This class represents an effect of querying system information.

Methods

query :: HasCallStack => ServiceType result -> m result Source #

Instances

Instances details
MonadSystemInfo IO Source # 
Instance details

Defined in Navi.Effects.MonadSystemInfo

Methods

query :: HasCallStack => ServiceType result -> IO result Source #

MonadSystemInfo (NaviT env IO) Source # 
Instance details

Defined in Navi.NaviT

Methods

query :: HasCallStack => ServiceType result -> NaviT env IO result Source #

MonadSystemInfo m => MonadSystemInfo (ReaderT e m) Source # 
Instance details

Defined in Navi.Effects.MonadSystemInfo

Methods

query :: HasCallStack => ServiceType result -> ReaderT e m result Source #