Modulepolysemy-zoo-0.8.2.0Haskell2010
Polysemy.RevState
Contents
Synopsis
- newtype RevState
- value revState
- value revGet
- value revPut
- value revModify
- value runRevState
- value runLazyRevState
- Packagepolysemy-zoo-0.8.2.0
- Exports7
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceRevState.hs
Effect
Actions
Sends a new state into the past.
Interpretations
Run a RevState effect with local state that is propagated backwards through the computation, from last action to first.
Run a RevState effect with local state that is lazily propagated backwards through the computation, from last action to first.