prometheus-0.4.1: Prometheus Haskell Client

Safe HaskellNone
LanguageHaskell2010

System.Metrics.Prometheus.RegistryT

Documentation

newtype RegistryT m a Source #

Constructors

RegistryT 

Fields

Instances

MonadTrans RegistryT Source # 

Methods

lift :: Monad m => m a -> RegistryT m a #

Monad m => Monad (RegistryT m) Source # 

Methods

(>>=) :: RegistryT m a -> (a -> RegistryT m b) -> RegistryT m b #

(>>) :: RegistryT m a -> RegistryT m b -> RegistryT m b #

return :: a -> RegistryT m a #

fail :: String -> RegistryT m a #

Functor m => Functor (RegistryT m) Source # 

Methods

fmap :: (a -> b) -> RegistryT m a -> RegistryT m b #

(<$) :: a -> RegistryT m b -> RegistryT m a #

Monad m => Applicative (RegistryT m) Source # 

Methods

pure :: a -> RegistryT m a #

(<*>) :: RegistryT m (a -> b) -> RegistryT m a -> RegistryT m b #

(*>) :: RegistryT m a -> RegistryT m b -> RegistryT m b #

(<*) :: RegistryT m a -> RegistryT m b -> RegistryT m a #

MonadIO m => MonadIO (RegistryT m) Source # 

Methods

liftIO :: IO a -> RegistryT m a #

evalRegistryT :: Monad m => RegistryT m a -> m a Source #