statethread: The ST monad and STRefs

[ bsd3, data-structures, library, monads ] [ Propose Tags ]

The ST monad and STRefs in a portable form. This package implements state threads as wrapper around IO and IORefs. Your compiler must support rank-2-types, IORefs, unsafePerformIO and unsafeInterleaveIO. The package can be used as drop-in replacement for the st package.

Versions [RSS] [faq] 0.1, 0.1.1
Dependencies applicative (==1.0.*), base (>=1.0 && <2), transformers (>=0.2 && <0.4) [details]
License BSD-3-Clause
Category Data Structures, Monads
Source repo this: darcs get --tag 0.1.1
head: darcs get
Uploaded by HenningThielemann at 2012-04-07T15:22:47Z
Distributions NixOS:0.1.1
Downloads 1621 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 6 reports]


  • Control
    • Monad
      • Control.Monad.ST
        • Control.Monad.ST.Lazy
        • Control.Monad.ST.Strict
  • Data
    • Data.STRef
      • Data.STRef.Lazy
      • Data.STRef.Strict


Maintainer's Corner

For package maintainers and hackage trustees