AVar 0.0.4 → 0.0.5
raw patch · 3 files changed
+9/−5 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Data.AVar: newAVar :: a -> IO (AVar a)
+ Data.AVar.Unsafe: newAVar :: a -> IO (AVar a)
Files
- AVar.cabal +5/−2
- Data/AVar.hs +2/−1
- Data/AVar/Unsafe.hs +2/−2
AVar.cabal view
@@ -1,5 +1,5 @@ Name: AVar-Version: 0.0.4+Version: 0.0.5 Category: Concurrency Synopsis: Mutable variables with Exception handling and concurrency support. Description: AVars emulate mutable variables, by providing a queue based@@ -12,6 +12,9 @@ There is also an unsafe interface through Data.AVar.Unsafe, which will throw any errors encountered while modifying the variable.+ + New in this version:+ * Fixed a (MASSIVE) mistake where i had forgotten to export the newAVar function. License: BSD3 License-file: LICENSE.txt Author: Alex Mason@@ -23,7 +26,7 @@ Library Build-Depends:- base >= 4.0.0.0+ base >= 4.0.0.0, base < 6.0.0.0 Exposed-modules: Data.AVar, Data.AVar.Unsafe
Data/AVar.hs view
@@ -29,7 +29,8 @@ justModAVar, getAVar, condModAVar,- swapAVar) where+ swapAVar,+ newAVar) where import Data.AVar.Internal import Control.Concurrent import Control.Concurrent.MVar
Data/AVar/Unsafe.hs view
@@ -11,8 +11,8 @@ modAVar', justModAVar, condModAVar,- swapAVar- ) where+ swapAVar,+ newAVar) where import Data.AVar.Internal import Control.Concurrent