Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A clock that removes the ScheduleT
transformer from the stack by interpreting its actions in a monad
Synopsis
- data UnscheduleClock m cl = UnscheduleClock {
- scheduleClock :: cl
- scheduleWait :: Diff (Time cl) -> m ()
- unyieldClock :: cl -> UnscheduleClock IO cl
Documentation
data UnscheduleClock m cl Source #
If cl
is a Clock
in 'ScheduleT diff m', apply UnscheduleClock
to get a clock in m
.
UnscheduleClock | |
|
Instances
(Clock (ScheduleT (Diff (Time cl)) m) cl, Monad m) => Clock m (UnscheduleClock m cl) Source # | |
Defined in FRP.Rhine.Clock.Unschedule type Time (UnscheduleClock m cl) Source # type Tag (UnscheduleClock m cl) Source # initClock :: UnscheduleClock m cl -> RunningClockInit m (Time (UnscheduleClock m cl)) (Tag (UnscheduleClock m cl)) Source # | |
type Tag (UnscheduleClock m cl) Source # | |
Defined in FRP.Rhine.Clock.Unschedule | |
type Time (UnscheduleClock m cl) Source # | |
Defined in FRP.Rhine.Clock.Unschedule |
unyieldClock :: cl -> UnscheduleClock IO cl Source #