A monad transformer version of the ST monad

Version on this page:0.3.3
LTS Haskell 18.0:0.4.5
Stackage Nightly 2021-06-21:0.4.5
Latest on Hackage:0.4.5

See all snapshots STMonadTrans appears in

BSD-3-Clause licensed by Josef Svenningsson
This version can be pinned in stack with:STMonadTrans-0.3.3@sha256:fb652e2fd4b200bc482be5aad46c4f246be91e1d66b0eca970b45204006d5be3,1238

Module documentation for 0.3.3

Depends on 3 packages(full list with versions):
Used by 1 package in lts-3.22(full list with versions):

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.