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.

Versions [RSS] [faq],, 0.2.1
Dependencies base (>=4.5 && <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-06T21:05:20Z
Distributions NixOS:0.2.1
Downloads 1521 total (5 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees