Safe Haskell | None |
---|---|
Language | Haskell2010 |
Control.Effect.State
Documentation
get :: Interprets (State state) m => m state Source
put :: Interprets (State state) m => state -> m () Source
modify :: Interprets (State state) m => (state -> state) -> m () Source
modify' :: Interprets (State state) m => (state -> state) -> m () Source
gets :: Interprets (State state) m => (state -> state) -> m state Source