polysemy-time-0.6.0.0: Polysemy effects for time
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Time.Class.Instant

Description

The Instant class, Internal

Synopsis

Documentation

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

This abstracts over types that refer to a specific point in time.

Methods

dateTime :: i -> dt Source #

Instances

Instances details
Instant Day UTCTime Source # 
Instance details

Defined in Polysemy.Time.Class.Instant

Methods

dateTime :: Day -> UTCTime Source #

Instant UTCTime UTCTime Source # 
Instance details

Defined in Polysemy.Time.Class.Instant