Safe Haskell | None |
---|---|
Language | Haskell2010 |
Module Time
include useful functions for working calculations which must
be done after a certain period of time.
Documentation
class Monad m => MonadTimeout m Source #
Instances
MonadTimeout Maybe Source # | |
MonadTimeout IO Source # | |
MonadTimeout m => MonadTimeout (StateT s m) Source # | |
MonadTimeout m => MonadTimeout (ReaderT r m) Source # | |
timeout :: (MonadTimeout m, RealFrac i, NFData a) => i -> TimeAccuracy -> m a -> m a Source #