s -> Event t (s -> s) -> Behavior t s +reactive-banana

accumB :: a -> Event t (a -> a) -> Behavior t a
reactive-banana Reactive.Banana.Experimental.Calm
The accumB function is similar to a strict left fold, foldl'. It starts with an initial value and combines it with incoming events.
accumB :: a -> Event t (a -> a) -> Behavior t a
reactive-banana Reactive.Banana.Combinators
The accumB function is similar to a strict left fold, foldl'. It starts with an initial value and combines it with incoming events. For example, think > accumB "x" [(time1,(++"y")),(time2,(++"z"))] > = stepper "x" [(time1,"xy"),(time2,"xyz")] Note that the value of the behavior changes "slightly after" the events occur. This allows for recursive definitions.