Name:             data-ref
Version:          0.0.2
License:          BSD3
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
Cabal-Version:     >=1.6
Build-Type:        Simple
Source-Repository head
  type:     darcs
  location: http://hub.darcs.net/thielema/data-ref/

Source-Repository this
  type:     darcs
  location: http://hub.darcs.net/thielema/data-ref/
  tag:      0.0.2

Library
  Build-Depends:
    transformers >=0.4 && <0.6,
    data-accessor >=0.2.2 && <0.3,
    stm >=2.2 && <2.6,
    base >=2 && <5

  GHC-Options:      -Wall
  Hs-Source-Dirs:   src
  Exposed-Modules:
    Data.Ref