Polysemy.Time.Ghc
type GhcTime = Time UTCTime Day Source #
Convenience alias for Time.
Time
now :: Member (Embed IO) r => Sem r UTCTime Source #
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.