STMonadTrans: A monad transformer version of the ST monad

[ bsd3, library, monads ] [ Propose Tags ]

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.

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
Dependencies array, base (<5), mtl [details]
License BSD-3-Clause
Author Josef Svenningsson
Maintainer josef.svenningsson@gmail.com
Category Monads
Source repo head: git clone https://github.com/josefs/STMonadTrans
Uploaded by JosefSvenningsson at Mon Mar 16 08:19:00 UTC 2015
Distributions Arch:0.4.3, Debian:0.4.3, Fedora:0.4.3, FreeBSD:0.3.3, LTSHaskell:0.4.3, NixOS:0.4.3
Downloads 16429 total (138 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-03-16 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
splitbase

Choose the new smaller, split-up base package.

EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees