pqueue 1.4.1.1 → 1.4.1.2
raw patch · 4 files changed
+15/−16 lines, 4 filesdep ~base
Dependency ranges changed: base
Files
- CHANGELOG.md +5/−0
- Data/PQueue/Prio/Internals.hs +1/−1
- Data/PQueue/Prio/Max.hs +1/−1
- pqueue.cabal +8/−14
CHANGELOG.md view
@@ -1,5 +1,10 @@ # Revision history for pqueue +## 1.4.1.2 -- 2018-09-26++ * Maintenance release for ghc-8.6+ * Drop support for ghc<7.10+ ## 1.4.1.1 -- 2018-02-11 * Remove/Replace buggy insertBehind implementation.
Data/PQueue/Prio/Internals.hs view
@@ -151,7 +151,7 @@ -- | /O(n)/ (an earlier implementation had /O(1)/ but was buggy). -- Insert an element with the specified key into the priority queue,--- putting it behind elements whos key compares equal to the+-- putting it behind elements whose key compares equal to the -- inserted one. insertBehind :: Ord k => k -> a -> MinPQueue k a -> MinPQueue k a insertBehind k v q =
Data/PQueue/Prio/Max.hs view
@@ -196,7 +196,7 @@ -- | /O(n)/ (an earlier implementation had /O(1)/ but was buggy). -- Insert an element with the specified key into the priority queue,--- putting it behind elements whos key compares equal to the+-- putting it behind elements whose key compares equal to the -- inserted one. insertBehind :: Ord k => k -> a -> MaxPQueue k a -> MaxPQueue k a insertBehind k a (MaxPQ q) = MaxPQ (Q.insertBehind (Down k) a q)
pqueue.cabal view
@@ -1,5 +1,5 @@ Name: pqueue-Version: 1.4.1.1+Version: 1.4.1.2 Category: Data Structures Author: Louis Wasserman License: BSD3@@ -12,7 +12,7 @@ Bug-reports: https://github.com/lspitzner/pqueue/issues Build-type: Simple cabal-version: >= 1.10-tested-with: GHC == 7.0.4, GHC == 7.2.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1, GHC == 8.0.1+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1 extra-source-files: { include/Typeable.h CHANGELOG.md@@ -26,7 +26,7 @@ default-language: Haskell2010 build-depends:- { base >= 4.5 && < 4.12+ { base >= 4.8 && < 4.13 , deepseq >= 1.3 && < 1.5 } exposed-modules:@@ -45,11 +45,7 @@ ghc-options: { -fdicts-strict -Wall- }- if impl(ghc>=7.8) {- ghc-options: {- -fno-warn-inline-rule-shadowing- }+ -fno-warn-inline-rule-shadowing } if impl(ghc>=7.10) { ghc-options: {@@ -64,15 +60,13 @@ Type: exitcode-stdio-1.0 Main-Is: PQueueTests.hs Build-Depends:- { base >= 4.5 && < 4.12+ { base >= 4.8 && < 4.13 , deepseq >= 1.3 && < 1.5 , QuickCheck >=2.5 && <3 }- ghc-options: -Wall- if impl(ghc>=7.8) {- ghc-options: {- -fno-warn-inline-rule-shadowing- }+ ghc-options: {+ -Wall+ -fno-warn-inline-rule-shadowing } if impl(ghc>=7.10) { ghc-options: {