Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
This package provides Chronos based interpreters and instances for the effect and classes defined in Polysemy.Time.
Synopsis
- type ChronosTime = Time Time Date
- interpretTimeChronos :: Member (Embed IO) r => InterpreterFor ChronosTime r
- interpretTimeChronosAt :: Member (Embed IO) r => Time -> InterpreterFor ChronosTime r
- interpretTimeChronosConstant :: Member (Embed IO) r => Time -> InterpreterFor ChronosTime r
- interpretTimeChronosConstantNow :: Member (Embed IO) r => InterpreterFor ChronosTime r
Interpreters
interpretTimeChronos :: Member (Embed IO) r => InterpreterFor ChronosTime r Source #
interpretTimeChronosAt :: Member (Embed IO) r => Time -> InterpreterFor ChronosTime r Source #
interpretTimeChronosConstant :: Member (Embed IO) r => Time -> InterpreterFor ChronosTime r Source #
interpretTimeChronosConstantNow :: Member (Embed IO) r => InterpreterFor ChronosTime r Source #