next-ref 0.1.0.0 → 0.1.0.1
raw patch · 2 files changed
+3/−3 lines, 2 filesdep ~next-ref
Dependency ranges changed: next-ref
Files
- next-ref.cabal +2/−2
- src/Control/Concurrent/NextRef.hs +1/−1
next-ref.cabal view
@@ -1,5 +1,5 @@ name: next-ref-version: 0.1.0.0+version: 0.1.0.1 cabal-version: >=1.10 build-type: Simple license: BSD3@@ -26,7 +26,7 @@ main-is: Spec.hs build-depends: base >=4.8.2.0 && <4.9,- next-ref >=0.1.0.0 && <0.2,+ next-ref >=0.1.0.1 && <0.2, hspec >=2.2.3 && <2.3 default-language: Haskell2010 hs-source-dirs: test
src/Control/Concurrent/NextRef.hs view
@@ -31,7 +31,7 @@ -- | Status is used to prevent future reads. When the status is 'Closed' -- 'takeNextRef' will always return 'Nothing'. When the status is -- open it will return Just. This is based off of the design of 'TMQueue'--- from the 'stm-chans' package+-- from the 'stm-chans' package. data Status = Open | Closed deriving (Show, Eq, Ord, Read, Enum, Bounded)