The stt package

[ Tags: 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.

Properties

Versions 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]
License MIT
Author Kyle McKean
Maintainer mckean.kylej@gmail.com
Category Control
Source repository head: git clone https://github.com/mckeankylej/stt
Uploaded Sun Nov 6 21:05:20 UTC 2016 by mckeankylej
Distributions NixOS:0.2.1
Downloads 138 total (16 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees