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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


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.


Versions0.0,, 0.0.1,,, 0.0.2, 0.0.2
Change logNone available
Dependenciesbase (>=2 && <5), data-accessor (>=0.2.2 && <0.3), stm (>=2.2 && <2.6), transformers (>=0.4 && <0.6) [details]
AuthorHenning Thielemann <>
MaintainerHenning Thielemann <>
Home page
Source repositoryhead: darcs clone
this: darcs clone --tag 0.0.2
UploadedTue Jan 22 11:58:56 UTC 2019 by HenningThielemann




Maintainers' corner

For package maintainers and hackage trustees