polysemy-time-0.1.1.0: Polysemy effect for time
Safe HaskellNone
LanguageHaskell2010

Polysemy.Time.Ghc

Synopsis

Documentation

type GhcTime = Time UTCTime Day Source #

Convenience alias for Time.

interpretTimeGhc :: Member (Embed IO) r => InterpreterFor GhcTime r Source #

Interpret Time with the types from Time.

interpretTimeGhcAt :: Member (Embed IO) r => UTCTime -> InterpreterFor GhcTime r Source #

Interpret Time with the types from Time, customizing the current time at the start of interpretation.