stt: A monad transformer version of the ST monad

[ control, library, mit ] [ Propose Tags ]

A monad transformer version of the ST monad Warning! This monad transformer should not be used with monads that can contain multiple answers, like the list monad. The reason is that the state token will be duplicated across the different answers and this causes Bad Things to happen (such as loss of referential transparency). Safe monads include the monads State, Reader, Writer, Maybe and combinations of their corresponding monad transformers.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],, 0.2.1
Dependencies base (>=4.6 && <5), mtl (>=2.2.1 && <3), primitive (>=0.6.1 && <0.7) [details]
License MIT
Author Kyle McKean
Category Control
Source repo head: git clone
Uploaded by mckeankylej at 2016-11-06T20:15:39Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1742 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]