| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
FRP.Rhine.Clock.Select
Description
In the Rhine philosophy, _event sources are clocks_. Often, we want to extract certain subevents from event sources, e.g. single out only left mouse button clicks from all input device events. This module provides a general purpose selection clock that ticks only on certain subevents.
Documentation
data SelectClock cl a Source #
A clock that selects certain subevents of type a,
from the tag of a main clock.
If two SelectClocks would tick on the same type of subevents,
but should not have the same type,
one should newtype the subevent.
Constructors
| SelectClock | |