data-ref: Unify STRef and IORef in plain Haskell 98

[ bsd3, data, library ] [ Propose Tags ]

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.

Versions [faq] 0.0, 0.0.0.1, 0.0.1, 0.0.1.1, 0.0.1.2, 0.0.2
Dependencies base (>=2 && <5), stm (>=2.2 && <2.4), transformers (>=0.2 && <0.4) [details]
License BSD-3-Clause
Author Henning Thielemann <haskell@henning-thielemann.de>
Maintainer Henning Thielemann <haskell@henning-thielemann.de>
Category Data
Home page http://www.haskell.org/haskellwiki/Mutable_variable
Source repo head: darcs get http://code.haskell.org/~thielema/data-ref/
this: darcs get http://code.haskell.org/~thielema/data-ref/ --tag 0.0
Uploaded by HenningThielemann at Sun Jul 14 15:17:30 UTC 2013
Distributions LTSHaskell:0.0.2, NixOS:0.0.2, Stackage:0.0.2
Downloads 3001 total (147 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees