WeakSets 1.4.0.1 → 1.5.0.0
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)
Files
- CHANGELOG.md +5/−1
- WeakSets.cabal +3/−3
- src/Data/WeakSet.hs +1/−1
CHANGELOG.md view
@@ -70,4 +70,8 @@ # 1.4.0.1 -- 2023-09-23 -* Base update to 4.18.0.0+* Base update to 4.18.0.0 + +# 1.5.0.0 -- 2023-10-10 + +* Better bounds
WeakSets.cabal view
@@ -14,7 +14,7 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 1.4.0.1 +version: 1.5.0.0 -- A short (one-line) description of the package. synopsis: @@ -68,7 +68,7 @@ -- other-extensions: -- Other library packages from which modules are imported. - build-depends: base ^>=4.18.0.0 + build-depends: base >= 4 && < 5 -- Directories containing source files. hs-source-dirs: src @@ -90,6 +90,6 @@ main-is: AllTests.hs -- Test dependencies. - build-depends: base ^>=4.18.0.0, WeakSets + build-depends: base >=4 && < 5, WeakSets other-modules: TestWeakSet, TestPureSet, TestWeakMap
src/Data/WeakSet.hs view
@@ -603,7 +603,7 @@ -- | /O(n)/. Flatten a set of sets into a set. -- --- Example : @concat set [set [1,2,3], set [1,2,3], set [1,2]] == set [1,2,3]@ +-- Example : @concat2 set [set [1,2,3], set [1,2,3], set [1,2]] == set [1,2,3]@ concat2 :: Set (Set a) -> Set a concat2 (Set xs) = Set $ [x | s <- xs, x <- (unsafeSetToList s)]