packages feed

IntervalMap 0.5.1.1 → 0.5.2.0

raw patch · 6 files changed

+23/−18 lines, 6 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.IntervalMap.Strict: filter :: (a -> Bool) -> [a] -> [a]
+ Data.IntervalMap.Strict: filter :: (Interval k e) => (a -> Bool) -> IntervalMap k a -> IntervalMap k a
- Data.IntervalMap.Strict: foldl :: Foldable t => forall b a. (b -> a -> b) -> b -> t a -> b
+ Data.IntervalMap.Strict: foldl :: (b -> a -> b) -> b -> IntervalMap k a -> b
- Data.IntervalMap.Strict: foldr :: Foldable t => forall a b. (a -> b -> b) -> b -> t a -> b
+ Data.IntervalMap.Strict: foldr :: (a -> b -> b) -> b -> IntervalMap k a -> b
- Data.IntervalMap.Strict: lookup :: Eq a => a -> [(a, b)] -> Maybe b
+ Data.IntervalMap.Strict: lookup :: (Ord k) => k -> IntervalMap k v -> Maybe v
- Data.IntervalMap.Strict: map :: (a -> b) -> [a] -> [b]
+ Data.IntervalMap.Strict: map :: (a -> b) -> IntervalMap k a -> IntervalMap k b
- Data.IntervalMap.Strict: null :: Foldable t => forall a. t a -> Bool
+ Data.IntervalMap.Strict: null :: IntervalMap k v -> Bool

Files

Data/IntervalMap/Generic/Lazy.hs view
@@ -24,11 +24,11 @@             , (!), (\\)              -- * Query-            , M.null+            , null             , size             , member             , notMember-            , M.lookup+            , lookup             , findWithDefault              -- ** Interval query@@ -76,7 +76,7 @@              -- * Traversal             -- ** Map-            , M.map+            , map             , mapWithKey             , mapAccum             , mapAccumWithKey@@ -86,7 +86,7 @@             , mapKeysMonotonic              -- ** Fold-            , M.foldr, M.foldl+            , foldr, foldl             , foldrWithKey, foldlWithKey             , flattenWith, flattenWithMonotonic @@ -111,7 +111,7 @@             , fromDistinctAscList              -- * Filter-            , M.filter+            , filter             , filterWithKey             , partition             , partitionWithKey@@ -123,7 +123,7 @@              , split             , splitLookup-            , M.splitAt+            , splitAt             , splitIntersecting              -- * Submap@@ -155,4 +155,5 @@              ) where -import Data.IntervalMap.Generic.Base as M+import Prelude hiding (filter, foldl, foldr, lookup, map, null, splitAt)+import Data.IntervalMap.Generic.Base
Data/IntervalMap/Lazy.hs view
@@ -24,11 +24,11 @@             , (!), (\\)              -- * Query-            , M.null+            , null             , size             , member             , notMember-            , M.lookup+            , lookup             , findWithDefault              -- ** Interval query@@ -76,7 +76,7 @@              -- * Traversal             -- ** Map-            , M.map+            , map             , mapWithKey             , mapAccum             , mapAccumWithKey@@ -86,7 +86,7 @@             , mapKeysMonotonic              -- ** Fold-            , M.foldr, M.foldl+            , foldr, foldl             , foldrWithKey, foldlWithKey              -- * Flatten@@ -113,7 +113,7 @@             , fromDistinctAscList              -- * Filter-            , M.filter+            , filter             , filterWithKey             , partition             , partitionWithKey@@ -125,7 +125,7 @@              , split             , splitLookup-            , M.splitAt+            , splitAt             , splitIntersecting              -- * Submap@@ -157,8 +157,9 @@              ) where +import Prelude hiding (filter, foldl, foldr, lookup, map, null, splitAt) import Data.IntervalMap.Interval as I-import Data.IntervalMap.Generic.Lazy hiding (IntervalMap, null, filter, lookup, map, foldr, foldl, flattenWith)+import Data.IntervalMap.Generic.Lazy hiding (IntervalMap, flattenWith) import qualified Data.IntervalMap.Generic.Lazy as M  
Data/IntervalMap/Strict.hs view
@@ -169,7 +169,7 @@              , split             , splitLookup-            , M.splitAt+            , splitAt             , splitIntersecting              -- * Submap@@ -202,8 +202,9 @@             ) where  +import Prelude hiding (filter, foldl, foldr, lookup, map, null, splitAt) import Data.IntervalMap.Interval as I-import Data.IntervalMap.Generic.Strict hiding (IntervalMap, null, filter, lookup, map, foldr, foldl, flattenWith)+import Data.IntervalMap.Generic.Strict hiding (IntervalMap, flattenWith) import qualified Data.IntervalMap.Generic.Strict as M  
IntervalMap.cabal view
@@ -1,5 +1,5 @@ Name:                IntervalMap-Version:             0.5.1.1+Version:             0.5.2.0 Stability:           experimental Synopsis:            Containers for intervals, with efficient search. Homepage:            http://www.chr-breitkopf.de/comp/IntervalMap
README.md view
@@ -1,4 +1,4 @@-# IntervalMap [![Build Status](https://travis-ci.org/bokesan/IntervalMap.svg?branch=master)](https://travis-ci.org/bokesan/IntervalMap)+# IntervalMap [![Hackage](https://img.shields.io/hackage/v/IntervalMap.svg)](https://hackage.haskell.org/package/IntervalMap) [![Build Status](https://travis-ci.org/bokesan/IntervalMap.svg?branch=master)](https://travis-ci.org/bokesan/IntervalMap)  *@GitHub users:* please base pull requests on the *develop* branch. Thanks. 
changelog view
@@ -1,3 +1,5 @@+0.5.2.0  Bugfix: exported Prelude functions instead of correct ones.+ 0.5.1.1  Improve performance of findLast.  0.5.1.0  Major performance improvements.