Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data SelectClock cl a = SelectClock {}
- schedSelectClocks :: (Monad m, Monoid cl, Clock m cl) => Schedule m (SelectClock cl a) (SelectClock cl b)
- filterS :: Monad m => MSF m () (Maybe b) -> MSF m () b
Documentation
data SelectClock cl a Source #
A clock that selects certain subevents of type a
,
from the tag of a main clock.
Instances
(Monad m, Clock m cl) => Clock m (SelectClock cl a) Source # | |
Defined in FRP.Rhine.Clock.Select type TimeDomainOf (SelectClock cl a) :: * Source # type Tag (SelectClock cl a) :: * Source # startClock :: SelectClock cl a -> m (MSF m () (TimeDomainOf (SelectClock cl a), Tag (SelectClock cl a)), TimeDomainOf (SelectClock cl a)) Source # | |
type TimeDomainOf (SelectClock cl a) Source # | |
Defined in FRP.Rhine.Clock.Select | |
type Tag (SelectClock cl a) Source # | |
Defined in FRP.Rhine.Clock.Select |
schedSelectClocks :: (Monad m, Monoid cl, Clock m cl) => Schedule m (SelectClock cl a) (SelectClock cl b) Source #
A universal schedule for two subclocks of the same main clock. The main clock must be a monoid (e.g. a singleton).