stt: A monad transformer version of the ST monad

[ control, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.1
Dependencies base (>=4.5 && <5), mtl (>=2.2.1 && <3), primitive (>=0.6.1 && <0.7) [details]
Tested with ghc >=7.4 && <=8.0.2
License MIT
Author Kyle McKean
Maintainer mckean.kylej@gmail.com
Category Control
Source repo head: git clone https://github.com/mckeankylej/stt
Uploaded by mckeankylej at 2016-11-06T21:05:20Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1793 total (1 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]