| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.ProtoLens.Combinators
Description
An assorted collection of functions useful when working with ProtoLens protocol buffers. These functions are inspired by functionality found in the protobuf implementation in other languages.
Documentation
modifyInState :: s -> State s a -> s Source #
Allows one to modify a value in the State monad. Note that this is
just for syntactic convenience with do blocks, e.g.
newThing = modifyInState thing $ do
...