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

Polysemy.Time.Class.Instant

Documentation

class Instant i dt | i -> dt where Source #

Methods

dateTime :: i -> dt Source #

Instances

Instances details
Instant UTCTime UTCTime Source # 
Instance details

Defined in Polysemy.Time.Class.Instant

Instant Day UTCTime Source # 
Instance details

Defined in Polysemy.Time.Class.Instant

Methods

dateTime :: Day -> UTCTime Source #