polysemy-time-0.1.3.2: 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 #