Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- dateCurrentRelative :: forall diff t d r. Torsor t diff => Members [Time t d, Embed IO, State (t, t)] r => Sem r t
- interpretTimeAtWithStart :: forall diff t d r a. Torsor t diff => TimeUnit diff => HasDate t d => Members [Time t d, Embed IO, State (t, t)] r => Sem r a -> Sem r a
- interpretTimeAt :: forall (diff :: Type) t d r a. TimeUnit diff => Torsor t diff => HasDate t d => Members [Time t d, Embed IO] r => t -> Sem r a -> Sem r a
Documentation
dateCurrentRelative :: forall diff t d r. Torsor t diff => Members [Time t d, Embed IO, State (t, t)] r => Sem r t Source #
Determine the current time adjusted for the difference between a custom instant and the time at which the program was started.