data-ref 0.0.1.1 → 0.0.1.2
raw patch · 2 files changed
+11/−3 lines, 2 filesdep ~stmPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: stm
API changes (from Hackage documentation)
- Data.Ref: Cons :: (a -> m ()) -> m a -> T m a
+ Data.Ref: Cons :: a -> m () -> m a -> T m a
Files
- data-ref.cabal +3/−3
- src/Data/Ref.hs +8/−0
data-ref.cabal view
@@ -1,5 +1,5 @@ Name: data-ref-Version: 0.0.1.1+Version: 0.0.1.2 License: BSD3 License-File: LICENSE Author: Henning Thielemann <haskell@henning-thielemann.de>@@ -27,12 +27,12 @@ Source-Repository this type: darcs location: http://hub.darcs.net/thielema/data-ref/- tag: 0.0.1.1+ tag: 0.0.1.2 Library Build-Depends: transformers >=0.4 && <0.6,- stm >=2.2 && <2.5,+ stm >=2.2 && <2.6, base >=2 && <5 GHC-Options: -Wall
src/Data/Ref.hs view
@@ -2,6 +2,14 @@ Following an idea by Dominique Devriese: <http://www.haskell.org/pipermail/libraries/2013-June/020185.html> -}+{-+How about fancy infix operators like:++do ref <:- a+ b <- Ref.read ref++?+-} module Data.Ref where import Data.IORef (newIORef, readIORef, writeIORef, )