Package0.4.8Monads
STMonadTrans
A monad transformer version of the ST monad
- Version0.4.8
- CategoryMonads
- LicenceBSD-3-Clause
- AuthorJosef Svenningsson
- MaintainerAndreas Abel, josef.svenningsson@gmail.com
- Homepagegithub.com/josefs/STMonadTrans
- Pinned byhackage STMonadTrans 0.4.8
- Sourcehackage.haskell.org/package/STMonadTrans-0.4.8
Modules
2 modules- Control.Monad.ST.Trans25This library provides a monad transformer version of the ST monad. Warning! This monad transformer should not be used with monads that
Internal modules · 1
- Control.Monad.ST.Trans.Internal5This module provides the implementation of the STT type for those
Description
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
4 packages- array-0.5.8.0with GHC
- base-4.20.2.0with GHC
- mtl-2.3.1with GHC
- transformers-0.6.1.1with GHC