State -package:ghc

State monads. This module is inspired by the paper Functional Programming with Overloading and Higher-Order Polymorphism, Mark P Jones (http://web.cecs.pdx.edu/~mpj/) Advanced School of Functional Programming, 1995.
A state monad parameterized by the type s of the state to carry. The return function leaves the state unchanged, while >>= uses the final state of the first computation as the initial state of the second.
State monads, passing an updatable state through a computation. Some computations may not require the full power of state transformers: This version is lazy; for a strict version, see Control.Monad.Trans.State.Strict, which has the same interface.
Keeps track of the remaining tests and the results of the performed tests. As each test is performed, the path is removed and the counts are updated as appropriate.
This is the Megaparsec's state parametrized over stream type s and custom error component type e.
Definition of Megaparsec's State.
ChaCha context
A ChaChaPoly1305 State. The state is immutable, and only new state can be created
The encryption state for RC4 This type is an instance of ByteArrayAccess for debugging purpose. Internal layout is architecture dependent, may contain uninitialized data fragments, and change in future versions. The bytearray should not be used as input to cryptographic algorithms.
Salsa context
Salsa context
Poly1305 State This type is an instance of ByteArrayAccess for debugging purpose. Internal layout is architecture dependent, may contain uninitialized data fragments, and change in future versions. The bytearray should not be used as input to cryptographic algorithms.
An effect for providing statefulness. Note that unlike mtl's StateT, there is no restriction that the State effect corresponds necessarily to local state. It could could just as well be interrpeted in terms of HTTP requests or database access. Interpreters which require statefulness can reinterpret themselves in terms of State, and subsequently call runState.
Provides reexports of MonadState and related helpers.
State monads. This module is inspired by the paper /Functional Programming with Overloading and Higher-Order Polymorphism/, Mark P Jones (http://web.cecs.pdx.edu/~mpj/) Advanced School of Functional Programming, 1995.
GLUT maintains a considerable amount of programmer visible state. Some (but not all) of this state may be directly retrieved.
A generalized State monad, parameterized by a Representable functor. The representation of that functor serves as the state.