polysemy-time-0.6.0.2: A Polysemy effect for time
Safe HaskellSafe-Inferred
LanguageGHC2021

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