The data-ref package

[Tags:bsd3, library]

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 0.0,, 0.0.1,
Dependencies base (>=2 && <5), stm (>=2.2 && <2.5), transformers (>=0.4 && <0.6) [details]
License BSD3
Author Henning Thielemann <>
Maintainer Henning Thielemann <>
Category Data
Home page
Source repository head: darcs get
this: darcs get --tag
Uploaded Wed Jan 13 16:18:49 UTC 2016 by HenningThielemann
Distributions LTSHaskell:, NixOS:, Stackage:, Tumbleweed:
Downloads 614 total (25 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2016-01-13 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees