- class ReactiveSyntax b t where
- accumulate :: (a -> b -> t) -> b -> Event a -> Behavior b
Documentation
This module provides a syntactically convenient accumulate
function.
This is an extra module because it uses type class extensions.
class ReactiveSyntax b t whereSource
Convenient type class for automatically
selecting the right accumulate
function by type.
accumulate :: (a -> b -> t) -> b -> Event a -> Behavior bSource
ReactiveSyntax b b | |
ReactiveSyntax b (IO (Change b)) | |
ReactiveSyntax b (IO b) | |
ReactiveSyntax b (Change b) |