STMonadTrans: A monad transformer version of the ST monad

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

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.


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.8
Change log changelog.md
Dependencies array, base (>=4.9 && <5), mtl (>=1.1), transformers (>=0.2.0.0 && <0.7) [details]
License BSD-3-Clause
Author Josef Svenningsson
Maintainer Andreas Abel, josef.svenningsson@gmail.com
Category Monads
Home page https://github.com/josefs/STMonadTrans
Bug tracker https://github.com/josefs/STMonadTrans/issues
Source repo head: git clone https://github.com/josefs/STMonadTrans
Uploaded by AndreasAbel at 2024-01-04T07:04:46Z

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Readme for STMonadTrans-0.4.8

[back to package description]

STMonadTrans

Hackage STMonadTrans on Stackage Nightly Stackage Build Status

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.