[commit: packages/array] master: Restablish compatibility with GHC 7.4.1 (c4e43c8)

git at git.haskell.org git
Fri Oct 11 21:04:43 UTC 2013


Repository : ssh://git at git.haskell.org/array

On branch  : master
Link       : http://git.haskell.org/packages/array.git/commitdiff/c4e43c81eb0ee92248017f66a0bbd4cc66a01c07

>---------------------------------------------------------------

commit c4e43c81eb0ee92248017f66a0bbd4cc66a01c07
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Oct 11 15:34:04 2013 +0200

    Restablish compatibility with GHC 7.4.1
    
    As of now, this package has been verified to work with GHC 7.4.x, GHC
    7.6.x and GHC HEAD.
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


>---------------------------------------------------------------

c4e43c81eb0ee92248017f66a0bbd4cc66a01c07
 Data/Array/Base.hs |    3 +++
 array.cabal        |    2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Data/Array/Base.hs b/Data/Array/Base.hs
index 4dcacd1..c1a2afe 100644
--- a/Data/Array/Base.hs
+++ b/Data/Array/Base.hs
@@ -32,6 +32,9 @@ import GHC.ST           ( ST(..), runST )
 import GHC.Base
 import GHC.Ptr          ( Ptr(..), FunPtr(..), nullPtr, nullFunPtr )
 import GHC.Stable       ( StablePtr(..) )
+#if !MIN_VERSION_base(4,6,0)
+import GHC.Exts         ( Word(..) )
+#endif
 import GHC.Int          ( Int8(..),  Int16(..),  Int32(..),  Int64(..) )
 import GHC.Word         ( Word8(..), Word16(..), Word32(..), Word64(..) )
 import GHC.IO           ( stToIO )
diff --git a/array.cabal b/array.cabal
index d8c3df8..a441dd4 100644
--- a/array.cabal
+++ b/array.cabal
@@ -39,7 +39,7 @@ library
       Trustworthy,
       UnboxedTuples,
       UnliftedFFITypes
-  build-depends: base >= 4.5 && < 5
+  build-depends: base >= 4.5 && < 4.8
   ghc-options: -Wall
   exposed-modules:
       Data.Array




More information about the ghc-commits mailing list