stm-hamt 1 → 1.1
raw patch · 2 files changed
+8/−3 lines, 2 filesdep ~primitive-extras
Dependency ranges changed: primitive-extras
Files
- library/StmHamt/Hamt.hs +6/−1
- stm-hamt.cabal +2/−2
library/StmHamt/Hamt.hs view
@@ -15,7 +15,7 @@ ) where -import StmHamt.Prelude hiding (empty, insert, update, lookup, delete)+import StmHamt.Prelude hiding (empty, insert, update, lookup, delete, null) import StmHamt.Types import qualified Focus as Focus import qualified StmHamt.Focuses as Focuses@@ -123,3 +123,8 @@ unfoldM :: Hamt a -> UnfoldM STM a unfoldM = UnfoldMs.hamtElements++null :: Hamt a -> STM Bool+null (Hamt branchSsaVar) = do+ branchSsa <- readTVar branchSsaVar+ return (SparseSmallArray.null branchSsa)
stm-hamt.cabal view
@@ -1,7 +1,7 @@ name: stm-hamt version:- 1+ 1.1 synopsis: STM-specialised Hash Array Mapped Trie description:@@ -61,7 +61,7 @@ focus >=1 && <1.1, hashable <2, primitive >=0.6.4 && <0.7,- primitive-extras >=0.5 && <0.6+ primitive-extras >=0.5.1 && <0.6 test-suite test type: