Constructors
CurrentTime :: Time a UTCTimeMonotonicTime :: Time a Double
Instances1DispatchOf
type DispatchOf Time = 'DynamicDefined in monad-time-effectful-1.0.0.0 · Effectful.Time
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulemonad-time-effectful-1.0.0.0Haskell2010
Time measurement via MonadTime.
CurrentTime :: Time a UTCTimeMonotonicTime :: Time a Doubletype DispatchOf Time = 'DynamicDefined in monad-time-effectful-1.0.0.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.0.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.