Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : master
http://hackage.haskell.org/trac/ghc/changeset/e2074aedc66a1508f28ebeacd47b9eb0a064dece >--------------------------------------------------------------- commit e2074aedc66a1508f28ebeacd47b9eb0a064dece Author: Johan Tibell <[email protected]> Date: Mon Nov 21 16:50:00 2011 -0800 Rename D.Pair to D.StrictPair >--------------------------------------------------------------- Data/IntMap/Strict.hs | 2 +- Data/Map/Strict.hs | 2 +- Data/{Pair.hs => StrictPair.hs} | 2 +- containers.cabal | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Data/IntMap/Strict.hs b/Data/IntMap/Strict.hs index 5bd31a0..40f0608 100644 --- a/Data/IntMap/Strict.hs +++ b/Data/IntMap/Strict.hs @@ -226,7 +226,7 @@ import Data.IntMap.Lazy hiding , fromAscListWithKey , fromDistinctAscList ) -import Data.Pair +import Data.StrictPair {-------------------------------------------------------------------- Construction diff --git a/Data/Map/Strict.hs b/Data/Map/Strict.hs index 71a6620..47c934b 100644 --- a/Data/Map/Strict.hs +++ b/Data/Map/Strict.hs @@ -264,7 +264,7 @@ import Data.Map.Base hiding , updateMinWithKey , updateMaxWithKey ) -import Data.Pair +import Data.StrictPair -- Use macros to define strictness of functions. STRICT_x_OF_y -- denotes an y-ary function strict in the x-th parameter. Similarly diff --git a/Data/Pair.hs b/Data/StrictPair.hs similarity index 79% rename from Data/Pair.hs rename to Data/StrictPair.hs index 40c84ef..5514821 100644 --- a/Data/Pair.hs +++ b/Data/StrictPair.hs @@ -1,4 +1,4 @@ -module Data.Pair (strictPair) where +module Data.StrictPair (strictPair) where -- | Evaluate both argument to WHNF and create a pair of the result. strictPair :: a -> b -> (a, b) diff --git a/containers.cabal b/containers.cabal index ea3a037..c3f47b8 100644 --- a/containers.cabal +++ b/containers.cabal @@ -33,7 +33,7 @@ Library other-modules: Data.IntMap.Base Data.Map.Base - Data.Pair + Data.StrictPair exposed-modules: Data.IntMap Data.IntMap.Lazy _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
