BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:data-ref-0.1@sha256:3d4ea2c7530a34ecd5e63b8256ef473dd08c950ee21e44f26e70d516bac9580b,1372

Module documentation for 0.1

Used by 1 package in nightly-2024-03-14(full list with versions):

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.