monad-lgbt

Monad transformers for combining local and global state.

https://github.com/mgajda/monad-lgbt#readme

Latest on Hackage:0.0.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-2-Clause licensed and maintained by Michal J. Gajda

This is library providing a nice typeclass interface for monads with two different states: local and global. Local state is backtraced whenever intervening monad transformer backtracks. Global state is preserved across all backtracing. It provides nice, classy interface for monads with backtrackingbackjumpingcontinuations.