LangToGroup-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Time

Description

Module Time include useful functions for working calculations which must be done after a certain period of time.

Documentation

data TimeAccuracy Source #

Constructors

MS 
S 
M 
H 

class Monad m => MonadTimeout m Source #

Minimal complete definition

timeout

Instances

Instances details
MonadTimeout Maybe Source # 
Instance details

Defined in Time

Methods

timeout :: (RealFrac i, NFData a) => i -> TimeAccuracy -> Maybe a -> Maybe a Source #

MonadTimeout IO Source # 
Instance details

Defined in Time

Methods

timeout :: (RealFrac i, NFData a) => i -> TimeAccuracy -> IO a -> IO a Source #

MonadTimeout m => MonadTimeout (StateT s m) Source # 
Instance details

Defined in Time

Methods

timeout :: (RealFrac i, NFData a) => i -> TimeAccuracy -> StateT s m a -> StateT s m a Source #

MonadTimeout m => MonadTimeout (ReaderT r m) Source # 
Instance details

Defined in Time

Methods

timeout :: (RealFrac i, NFData a) => i -> TimeAccuracy -> ReaderT r m a -> ReaderT r m a Source #

timeout :: (MonadTimeout m, RealFrac i, NFData a) => i -> TimeAccuracy -> m a -> m a Source #

timeout' :: RealFrac i => i -> TimeAccuracy -> IO a -> IO (Maybe a) Source #