State +Control.Monad.Trans +package
This package contains state variables, which are references in the IO monad, like IORefs or parts of the OpenGL state.
Implements MonadPlus with left catch (MonadOr) for StateT.
This package provides a Template Haskell function which transforms a normal record declaration into one which supports many useful operations when used as the state in a State monad.
A MonadST type class, instances, and some helpful monad functions.
A collection of type-classes generalizing the read/write/modify operations for stateful variables provided by things like IORef, TVar, &c. Note that The interface has changed a bit from the 0.2.* version. "*Ref" functions are now called "*Reference" and new "*Ref" function exist with simpler signatures. The new Ref existential type provides a convenient monad-indexed reference type, and the HasRef class indicates monads for which there is a default reference type for every referent.
Simple State-like monad transformer where states can be saved to and restored from an internal stack.
The ST monad and STRefs in a portable form. This package implements state threads as wrapper around IO and IORefs. Your compiler must support rank-2-types, IORefs, unsafePerformIO and unsafeInterleaveIO. The package can be used as drop-in replacement for the st package.
Use regular Haskell data structures as your database and get stronger ACID guarantees than most RDBMS offer.
This package declares BinaryState type class, which is similar to Data.Binary.Binary, but Get/Put monads can track state.
Unplug your machine and restart and have your app recover to exactly where it left off. Happstack-State spares you the need to deal with all the marshalling, consistency, and configuration headache that you would have if you used an external DBMS for this purpose. Its component model makes it easy to compose big applications from smaller reliable parts. Use event subscription to trigger IO actions and support comet-style or irc-bot applications.
Utility library for monads, particularly those involving state
Overloaded get and put for state variables (IORef, STRef, TVar) to make reading and writing more concise.
Inspired by the StateVar package by Sven Panne, with the following differences:
* Supports variables in other monads besides IO (e.g. TVar, STRef).
* Provides non-infix put, modify, etc.
* Does not provide concrete state variables (i.e. ones where you supply get and put callbacks). If you want this feature, please submit an issue.
* Named "Control.Monad.StateVar" instead of "Data.StateVar", to avoid a module naming conflict.
MState offers a State monad which can be used in concurrent applications. It also manages new threads and waits until the whole state monad has been evaluated/executed before it returns the state values (if desired).
readline package is a good wrapping library around libreadline.
Unfortunately, there is a lot of set/get pairs of functions, which clutter namespace. This kind of API can be nicely expressed as StateVars, as in HOpenGL.
readline-statevar seeks to fill this gap and provide nicer API based on StateVars.
For clarity: this module wraps only System.Console.Readline module. System.Console.SimpleLineEditor is left untouched.
It's like the State monad transformer. But Reversed! The state goes backwards.
This snaplet makes it easy to use acid-state in a Snap application.