Engine.ReactiveBanana.Stateful
setup :: MonadMoment m => m acc -> (a -> acc -> (x, acc)) -> Event a -> m (Event x, Behavior acc) Source #
runWorldWith :: (world -> ST s (Thaw world s)) -> (Thaw world s -> ST s world) -> world -> (Thaw world s -> ST s update) -> ST s (update, world) Source #
type family Thaw world s Source #