Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
puts :: MonadState α m => Lens α α a b -> b -> m a Source #
state :: MonadState α m => Lens α α a b -> (a -> (c, b)) -> m c Source #
modify :: MonadState α m => Lens α α a b -> (a -> b) -> m a Source #
modifyM :: MonadState α m => Lens α α a b -> (a -> m b) -> m a Source #