Constructors
CurrentTime :: Time a UTCTimeMonotonicTime :: Time a Double
Instances1DispatchOf
type DispatchOf Time = 'DynamicDefined in monad-time-effectful-1.0.1.0 · Effectful.Time
:: a typeCtrl KGHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11
Modulemonad-time-effectful-1.0.1.0Haskell2010
Time measurement via MonadTime.
CurrentTime :: Time a UTCTimeMonotonicTime :: Time a Doubletype DispatchOf Time = 'DynamicDefined in monad-time-effectful-1.0.1.0 · Effectful.TimeClass of monads which make it possible to measure time.
currentTime :: m UTCTimemonotonicTime :: m DoubleMonadTime IODefined in monad-time-0.4.0.0 · Control.Monad.TimeBase instance for IO.
Time :> es => MonadTime (Eff es)Defined in monad-time-effectful-1.0.1.0 · Effectful.Time · orphan(MonadTime m, MonadTrans t, Monad (t m)) => MonadTime (t m)Defined in monad-time-0.4.0.0 · Control.Monad.TimeGeneric, overlapping instance.
Run a Time effect with a frozen value of the CurrentTime operation.
Note: the MonotonicTime operation works the same way as in runTime.
Run the Time effect with a given starting time; time advances by a fixed increment for every invocation of the CurrentTime operation. A negative increment will make the clock run backwards.
Note: the MonotonicTime operation works the same way as in runTime.