monad-time-0.4.0.0: Type class for monads which carry the notion of the current time.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Monad.Time

Synopsis

Documentation

class Monad m => MonadTime m where Source #

Class of monads which make it possible to measure time.

Instances

Instances details
MonadTime IO Source #

Base instance for IO.

Instance details

Defined in Control.Monad.Time

(MonadTime m, MonadTrans t, Monad (t m)) => MonadTime (t m) Source #

Generic, overlapping instance.

Instance details

Defined in Control.Monad.Time