| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FRP.Rhine.Clock.Realtime.Stdin
Description
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.
Constructors
| StdinClock |
Instances
| Semigroup StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin Methods (<>) :: StdinClock -> StdinClock -> StdinClock # sconcat :: NonEmpty StdinClock -> StdinClock # stimes :: Integral b => b -> StdinClock -> StdinClock # | |
| MonadIO m => Clock m StdinClock Source # | |
Defined in FRP.Rhine.Clock.Realtime.Stdin Methods 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 | |