| |||||||||||||

| |||||||||||||

| |||||||||||||

Description | |||||||||||||

Functional Many of the operations on events and reactive values are packaged as
instances of the standard type classes Although the basic The exact packaging of discrete vs continuous will probably change with more experience. | |||||||||||||

Synopsis | |||||||||||||

Events and reactive values | |||||||||||||

| |||||||||||||

| |||||||||||||

| |||||||||||||

| |||||||||||||

| |||||||||||||

Compatibility synonym (for ease of transition from DataDriven) | |||||||||||||

| |||||||||||||

Apply a unary function inside an Event representation.
| |||||||||||||

| |||||||||||||

Apply a unary function inside an Event representation.
| |||||||||||||

| |||||||||||||

Reactive value from an initial value and a new-value event. | |||||||||||||

| |||||||||||||

Switch between reactive values. | |||||||||||||

| |||||||||||||

Make an event and a sink for feeding the event. Each value sent to the sink becomes an occurrence of the event. | |||||||||||||

| |||||||||||||

Tracing variant of mkEvent
| |||||||||||||

| |||||||||||||

Show specialization of mkEventTrace
| |||||||||||||

| |||||||||||||

Run an event in the current thread. | |||||||||||||

| |||||||||||||

Run an event in a new thread. | |||||||||||||

| |||||||||||||

Subscribe a listener to an event. Wrapper around forkE and fmap.
| |||||||||||||

| |||||||||||||

Run a reactive value in a new thread. The initial action happens in the current thread. | |||||||||||||

Event extras | |||||||||||||

| |||||||||||||

Accumulating event, starting from an initial value and a update-function event. | |||||||||||||

| |||||||||||||

Like scanl for events
| |||||||||||||

| |||||||||||||

Accumulate values from a monoid-valued event. Specialization of
scanlE, using mappend and mempty
| |||||||||||||

| |||||||||||||

Pair each event value with the previous one, given an initial value. | |||||||||||||

| |||||||||||||

Count occurrences of an event, remembering the occurrence values.
See also countE_
| |||||||||||||

| |||||||||||||

Count occurrences of an event, forgetting the occurrence values. See
also countE.
| |||||||||||||

| |||||||||||||

Difference of successive event occurrences. | |||||||||||||

| |||||||||||||

Snapshot a reactive value whenever an event occurs. | |||||||||||||

| |||||||||||||

Like snapshot but discarding event data (often a is ()).
| |||||||||||||

| |||||||||||||

Filter an event according to whether a boolean source is true. | |||||||||||||

| |||||||||||||

Just the first occurrence of an event. | |||||||||||||

| |||||||||||||

Tracing of events. | |||||||||||||

| |||||||||||||

Make an extensible event. The returned sink is a way to add new events to mix. | |||||||||||||

Reactive extras | |||||||||||||

| |||||||||||||

| |||||||||||||

Reactive value from an initial value and an updater event | |||||||||||||

| |||||||||||||

Like scanl for reactive values
| |||||||||||||

| |||||||||||||

Accumulate values from a monoid-valued event. Specialization of
scanlE, using mappend and mempty
| |||||||||||||

| |||||||||||||

Start out blank (Nothing), latching onto each new a, and blanking
on each b. If you just want to latch and not blank, then use
mempty for lose.
| |||||||||||||

| |||||||||||||

Flip-flopping source. Turns true when ea occurs and false when
eb occurs.
| |||||||||||||

| |||||||||||||

Count occurrences of an event | |||||||||||||

| |||||||||||||

Tracing of reactive values | |||||||||||||

Reactive behaviors | |||||||||||||

| |||||||||||||

Time for continuous behaviors | |||||||||||||

| |||||||||||||

Reactive behaviors. Simply a reactive Function value. Wrapped in
a type composition to get Functor and Applicative for free.
| |||||||||||||

To be moved elsewhere | |||||||||||||

| |||||||||||||

Replace a functor value with a given one. | |||||||||||||

| |||||||||||||

Forget a functor value, replace with ()
| |||||||||||||

| |||||||||||||

Convenient alias for dropping parentheses. | |||||||||||||

| |||||||||||||

Value sink | |||||||||||||

| |||||||||||||

Pass through Just occurrences.
| |||||||||||||

| |||||||||||||

Pass through values satisfying p.
| |||||||||||||

Produced by Haddock version 2.3.0 |