packages feed

int-like 0.3.0 → 0.3.1

raw patch · 5 files changed

+31/−3 lines, 5 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

int-like.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           int-like-version:        0.3.0+version:        0.3.1 synopsis:       Newtype wrappers over IntSet and IntMap description:    Please see the README on GitHub at <https://github.com/ejconlon/int-like#readme> category:       Data Structures
src/IntLike/Graph.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE CPP #-}+ module IntLike.Graph   ( IntLikeGraph (..)   , adjacencyIntMultiMap@@ -16,7 +18,9 @@ import Algebra.Graph.Class (Graph (..)) import Control.DeepSeq (NFData) import Data.Coerce (Coercible, coerce)+#if !MIN_VERSION_base(4,20,0) /* foldl' migration */ import Data.Foldable (foldl')+#endif import Data.Hashable (Hashable) import Data.Tuple (swap) import IntLike.Equiv (IntLikeEquiv)
src/IntLike/Map.hs view
@@ -184,7 +184,17 @@ import Data.IntMap.Strict (IntMap) import qualified Data.IntMap.Strict as IntMap import IntLike.Set (IntLikeSet (..))-import Prelude hiding (filter, foldl, foldr, lookup, map, null)+import Prelude hiding+  ( filter+  , foldl+#if MIN_VERSION_base(4,20,0) /* foldl' migration */+  , foldl'+#endif+  , foldr+  , lookup+  , map+  , null+  )  type role IntLikeMap nominal representational 
src/IntLike/MultiMap.hs view
@@ -1,3 +1,5 @@+{-# LANGUAGE CPP #-}+ module IntLike.MultiMap   ( IntLikeMultiMap   , empty@@ -13,7 +15,9 @@  import Control.Monad (foldM) import Data.Coerce (Coercible)+#if !MIN_VERSION_base(4,20,0) /* foldl' migration */ import Data.Foldable (foldl')+#endif import IntLike.Map (IntLikeMap) import qualified IntLike.Map as ILM import IntLike.Set (IntLikeSet)
src/IntLike/Set.hs view
@@ -113,7 +113,17 @@ #if MIN_VERSION_containers(0,8,0) import Data.List.NonEmpty (NonEmpty) #endif-import Prelude hiding (filter, foldMap, foldl, foldr, map, null)+import Prelude hiding+  ( filter+  , foldMap+  , foldl+#if MIN_VERSION_base(4,20,0) /* foldl' migration */+  , foldl'+#endif+  , foldr+  , map+  , null+  )  type role IntLikeSet nominal