wikimusic-ssr-1.0.1.6
Safe HaskellSafe-Inferred
LanguageGHC2021

WikiMusic.SSR.Free.Clock

Documentation

data Clock a Source #

Constructors

TimeElapsedUntilNow UTCTime (Text -> a) 
Now (UTCTime -> a) 

Instances

Instances details
Functor Clock Source # 
Instance details

Defined in WikiMusic.SSR.Free.Clock

Methods

fmap :: (a -> b) -> Clock a -> Clock b #

(<$) :: a -> Clock b -> Clock a #

Exec Clock Source # 
Instance details

Defined in WikiMusic.SSR.Clock.LiveClock

Methods

execAlgebra :: Clock (IO a) -> IO a #