rawlock 0.1.0.0 → 0.1.1.0
raw patch · 3 files changed
+6/−2 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
+ Control.RAWLock: instance GHC.Generics.Generic Control.RAWLock.RAWState
+ Control.RAWLock: instance NoThunks.Class.NoThunks Control.RAWLock.RAWState
Files
- CHANGELOG.md +4/−0
- rawlock.cabal +1/−1
- src/Control/RAWLock.hs +1/−1
CHANGELOG.md view
@@ -2,6 +2,10 @@ # Changelog entries +## 0.1.1.0 -- 2024-11-22++* Added `Generic` and `NoThunks` instance for `RAWState`.+ ## 0.1.0.0 -- 2024-10-22 * First version. Released on an unsuspecting world.
rawlock.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: rawlock-version: 0.1.0.0+version: 0.1.1.0 synopsis: A writer-biased RAW lock. description: A writer-biased RAW lock.
src/Control/RAWLock.hs view
@@ -155,7 +155,7 @@ waitingReaders :: !Readers , waitingAppenders :: !Appenders , waitingWriters :: !Writers- } deriving Show+ } deriving (Show, Generic, NoThunks) noWriters :: Poisonable RAWState -> Bool noWriters (Healthy (RAWState _ _ w)) = w == 0