Safe Haskell | None |
---|---|
Language | Haskell2010 |
In Rhine, event sources are clocks, and so is the console.
If this clock is used,
every input line on the console triggers one tick of the StdinClock
.
Synopsis
- data StdinClock = StdinClock
Documentation
data StdinClock Source #
A clock that ticks for every line entered on the console,
outputting the entered line as its Tag
.
Instances
Semigroup StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin (<>) :: StdinClock -> StdinClock -> StdinClock # sconcat :: NonEmpty StdinClock -> StdinClock # stimes :: Integral b => b -> StdinClock -> StdinClock # | |
GetClockProxy StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin | |
MonadIO m => Clock m StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin type Time StdinClock Source # type Tag StdinClock Source # initClock :: StdinClock -> RunningClockInit m (Time StdinClock) (Tag StdinClock) Source # | |
type Time StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin | |
type Tag StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin |