freer-extras-1.2.0.0: Useful extensions to simple-freer
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Freer.Extras.State

Documentation

use :: Member (State s) effs => Getting a s a -> Eff effs a Source #

assign :: Member (State s) effs => ASetter s s a b -> b -> Eff effs () Source #

modifying :: Member (State s) effs => ASetter s s a b -> (a -> b) -> Eff effs () Source #