data-ref: Unify STRef and IORef in plain Haskell 98
This package provides a unique interface to both STRef and IORef. The advantage is that it is plain Haskell 98, the disadvantage is that we cannot use STRef and IORef as they are.
Our approach works with Haskell 98 single parameter type classes because we use an explicit dictionary, and we do not pass the references around but their accessors.
Similar packages: reference
, ref-mtl
, ref-fd
, ref-tf
.
Downloads
- data-ref-0.0.1.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0, 0.0.0.1, 0.0.1, 0.0.1.1, 0.0.1.2, 0.0.2, 0.1 |
---|---|
Dependencies | base (>=2 && <5), stm (>=2.2 && <2.6), transformers (>=0.4 && <0.6) [details] |
Tested with | ghc ==7.4.2, ghc ==8.0.1 |
License | BSD-3-Clause |
Author | Henning Thielemann <haskell@henning-thielemann.de> |
Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |
Category | Data |
Home page | http://wiki.haskell.org/Mutable_variable |
Source repo | head: darcs get http://hub.darcs.net/thielema/data-ref/ this: darcs get http://hub.darcs.net/thielema/data-ref/ --tag 0.0.1.2 |
Uploaded | by HenningThielemann at 2018-09-22T18:04:59Z |
Distributions | LTSHaskell:0.1, NixOS:0.1, Stackage:0.1 |
Reverse Dependencies | 3 direct, 1 indirect [details] |
Downloads | 6639 total (52 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-09-22 [all 1 reports] |