[commit: packages/bytestring] 0.10.4.x, master: Apparently the Unsafe extension is only in ghc 7.4+ (f0bac1d)

git at git.haskell.org git at git.haskell.org
Fri Jan 23 22:41:49 UTC 2015


Repository : ssh://git@git.haskell.org/bytestring

On branches: 0.10.4.x,master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/f0bac1db84821ba0b8457d77fab02d2334b706df

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

commit f0bac1db84821ba0b8457d77fab02d2334b706df
Author: Duncan Coutts <duncan at community.haskell.org>
Date:   Mon Oct 21 16:02:56 2013 +0100

    Apparently the Unsafe extension is only in ghc 7.4+


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

f0bac1db84821ba0b8457d77fab02d2334b706df
 Data/ByteString/Builder/Internal.hs      | 2 +-
 Data/ByteString/Builder/Prim/Internal.hs | 2 +-
 Data/ByteString/Internal.hs              | 2 +-
 Data/ByteString/Lazy/Internal.hs         | 2 +-
 Data/ByteString/Short/Internal.hs        | 2 +-
 bytestring.cabal                         | 7 +------
 6 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/Data/ByteString/Builder/Internal.hs b/Data/ByteString/Builder/Internal.hs
index e1ee141..e8617ef 100644
--- a/Data/ByteString/Builder/Internal.hs
+++ b/Data/ByteString/Builder/Internal.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE ScopedTypeVariables, CPP, BangPatterns, RankNTypes #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Unsafe #-}
 #endif
 {-# OPTIONS_HADDOCK hide #-}
diff --git a/Data/ByteString/Builder/Prim/Internal.hs b/Data/ByteString/Builder/Prim/Internal.hs
index 85084d4..4baf81a 100644
--- a/Data/ByteString/Builder/Prim/Internal.hs
+++ b/Data/ByteString/Builder/Prim/Internal.hs
@@ -1,5 +1,5 @@
 {-# LANGUAGE ScopedTypeVariables, CPP, BangPatterns #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Unsafe #-}
 #endif
 {-# OPTIONS_HADDOCK hide #-}
diff --git a/Data/ByteString/Internal.hs b/Data/ByteString/Internal.hs
index ca1326c..e7f7a19 100644
--- a/Data/ByteString/Internal.hs
+++ b/Data/ByteString/Internal.hs
@@ -2,7 +2,7 @@
 #if __GLASGOW_HASKELL__
 {-# LANGUAGE UnliftedFFITypes, MagicHash,
             UnboxedTuples, DeriveDataTypeable #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Unsafe #-}
 #endif
 #endif
diff --git a/Data/ByteString/Lazy/Internal.hs b/Data/ByteString/Lazy/Internal.hs
index 2de77af..9ed6d05 100644
--- a/Data/ByteString/Lazy/Internal.hs
+++ b/Data/ByteString/Lazy/Internal.hs
@@ -1,7 +1,7 @@
 {-# LANGUAGE CPP, ForeignFunctionInterface, BangPatterns #-}
 #if __GLASGOW_HASKELL__
 {-# LANGUAGE DeriveDataTypeable #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Unsafe #-}
 #endif
 #endif
diff --git a/Data/ByteString/Short/Internal.hs b/Data/ByteString/Short/Internal.hs
index 092f062..78eeac7 100644
--- a/Data/ByteString/Short/Internal.hs
+++ b/Data/ByteString/Short/Internal.hs
@@ -2,7 +2,7 @@
              ForeignFunctionInterface, MagicHash, UnboxedTuples,
              UnliftedFFITypes #-}
 {-# OPTIONS_GHC -fno-warn-name-shadowing #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
 {-# LANGUAGE Unsafe #-}
 #endif
 {-# OPTIONS_HADDOCK hide #-}
diff --git a/bytestring.cabal b/bytestring.cabal
index d3e314a..0762d81 100644
--- a/bytestring.cabal
+++ b/bytestring.cabal
@@ -1,5 +1,5 @@
 Name:                bytestring
-Version:             0.10.4.0
+Version:             0.10.4.1
 Synopsis:            Fast, compact, strict and lazy byte strings with a list interface
 Description:
     An efficient compact, immutable byte string type (both strict and lazy)
@@ -64,11 +64,6 @@ source-repository head
   type:     git
   location: https://github.com/haskell/bytestring
 
-source-repository this
-  type:     git
-  location: https://github.com/haskell/bytestring
-  tag: 0.10.4.0
-
 flag integer-simple
   description: Use the simple integer library instead of GMP
   default: False



More information about the ghc-commits mailing list