monad-time-0.2: Type class for monads which carry the notion of the current time.

Safe HaskellNone
LanguageHaskell2010

Control.Monad.Time

Synopsis

Documentation

class Monad m => MonadTime m where Source

Class of monads which carry the notion of the current time.

Instances

MonadTime IO Source

Base instance for IO.

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

Generic, overlapping instance.