STMonadTrans

A monad transformer version of the ST monad

Version on this page:0.3.4
LTS Haskell 12.26:[email protected]:1
Stackage Nightly 2018-09-28:[email protected]:1
Latest on Hackage:0.4.4

See all snapshots STMonadTrans appears in

BSD-3-Clause licensed by Josef Svenningsson
Maintained by [email protected]

Module documentation for 0.3.4

This version can be pinned in stack with:[email protected]:5475a690fde273d7daa9d89b87aca56ac1ee3c228aa52ea5af0ba01a110c30f2,1372

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.

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