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

Control.Monad.Time

Synopsis

class Monad m => MonadTime m where Source

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

Methods

currentTime :: m UTCTime Source

Instances

Base instance for IO.

Generic, overlapping instance.