data-ref-0.1: data-ref.cabal
Cabal-Version: 2.2
Name: data-ref
Version: 0.1
License: BSD-3-Clause
License-File: LICENSE
Author: Henning Thielemann <haskell@henning-thielemann.de>
Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
Category: Data
Homepage: http://wiki.haskell.org/Mutable_variable
Synopsis: Unify STRef and IORef in plain Haskell 98
Description:
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@.
Tested-With: GHC==7.4.2, GHC==8.0.1
Build-Type: Simple
Source-Repository head
type: darcs
location: https://hub.darcs.net/thielema/data-ref/
Source-Repository this
type: darcs
location: https://hub.darcs.net/thielema/data-ref/
tag: 0.1
Library
Build-Depends:
transformers >=0.4 && <0.7,
data-accessor >=0.2.2 && <0.3,
stm >=2.2 && <2.6,
base >=2 && <5
Default-Language: Haskell98
GHC-Options: -Wall
Hs-Source-Dirs: src
Exposed-Modules:
Data.Ref