rhine-1.4: Functional Reactive Programming with type-level clocks
Safe HaskellSafe-Inferred
LanguageHaskell2010

FRP.Rhine.Clock.Unschedule

Description

A clock that removes the ScheduleT transformer from the stack by interpreting its actions in a monad

Synopsis

Documentation

data UnscheduleClock m cl Source #

If cl is a Clock in 'ScheduleT diff m', apply UnscheduleClock to get a clock in m.

Constructors

UnscheduleClock 

Fields

Instances

Instances details
(TimeDomain (Time cl), Clock (ScheduleT (Diff (Time cl)) m) cl, Monad m) => Clock m (UnscheduleClock m cl) Source # 
Instance details

Defined in FRP.Rhine.Clock.Unschedule

Associated Types

type Time (UnscheduleClock m cl) Source #

type Tag (UnscheduleClock m cl) Source #

type Tag (UnscheduleClock m cl) Source # 
Instance details

Defined in FRP.Rhine.Clock.Unschedule

type Tag (UnscheduleClock m cl) = Tag cl
type Time (UnscheduleClock m cl) Source # 
Instance details

Defined in FRP.Rhine.Clock.Unschedule

type Time (UnscheduleClock m cl) = Time cl

unyieldClock :: cl -> UnscheduleClock IO cl Source #

Remove a ScheduleT layer from the monad transformer stack of the clock.

The yield action is interpreted as thread yielding in IO.