Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Time = Input UTCTime
- getCurrentTime :: Member Time effs => Sem effs UTCTime
- runCurrentTimeIO :: forall effs m a. (Member (Embed m) effs, MonadIO m) => Sem (Time ': effs) a -> Sem effs a
- runCurrentTimeConst :: UTCTime -> Sem (Time ': effs) a -> Sem effs a
- time_ :: Member Time r => Sem r () -> Sem r NominalDiffTime