A monad transformer version of the ST monad

Version on this page:0.3.3
LTS Haskell 22.30:0.4.8@rev:1
Stackage Nightly 2024-07-22:0.4.8@rev:1
Latest on Hackage:0.4.8@rev:1

See all snapshots STMonadTrans appears in

BSD-3-Clause licensed by Josef Svenningsson
Maintained by [email protected]
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.