[commit: packages/bytestring] master: Update Safe Haskell tags on some modules (a399cdd)

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


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

On branch  : master
Link       : http://git.haskell.org/packages/bytestring.git/commitdiff/a399cddc850f7cb1a6175d61f63379542b96d1f0

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

commit a399cddc850f7cb1a6175d61f63379542b96d1f0
Author: David Terei <code at davidterei.com>
Date:   Fri Nov 21 13:15:32 2014 -0800

    Update Safe Haskell tags on some modules


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

a399cddc850f7cb1a6175d61f63379542b96d1f0
 Data/ByteString/Builder/Prim/ASCII.hs                    | 3 +++
 Data/ByteString/Builder/Prim/Binary.hs                   | 3 +++
 Data/ByteString/Builder/Prim/Internal/Base16.hs          | 3 +++
 Data/ByteString/Builder/Prim/Internal/Floating.hs        | 3 +++
 Data/ByteString/Builder/Prim/Internal/UncheckedShifts.hs | 3 +++
 Data/ByteString/Unsafe.hs                                | 3 +++
 6 files changed, 18 insertions(+)

diff --git a/Data/ByteString/Builder/Prim/ASCII.hs b/Data/ByteString/Builder/Prim/ASCII.hs
index 9ed8316..9a5816d 100644
--- a/Data/ByteString/Builder/Prim/ASCII.hs
+++ b/Data/ByteString/Builder/Prim/ASCII.hs
@@ -1,4 +1,7 @@
 {-# LANGUAGE ScopedTypeVariables, ForeignFunctionInterface #-}
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
 -- | Copyright   : (c) 2010 Jasper Van der Jeugt
 --                 (c) 2010 - 2011 Simon Meier
 -- License       : BSD3-style (see LICENSE)
diff --git a/Data/ByteString/Builder/Prim/Binary.hs b/Data/ByteString/Builder/Prim/Binary.hs
index e4b133b..136a75a 100644
--- a/Data/ByteString/Builder/Prim/Binary.hs
+++ b/Data/ByteString/Builder/Prim/Binary.hs
@@ -1,4 +1,7 @@
 {-# LANGUAGE CPP, BangPatterns #-}
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
 -- | Copyright   : (c) 2010-2011 Simon Meier
 -- License       : BSD3-style (see LICENSE)
 --
diff --git a/Data/ByteString/Builder/Prim/Internal/Base16.hs b/Data/ByteString/Builder/Prim/Internal/Base16.hs
index 2965450..e27424f 100644
--- a/Data/ByteString/Builder/Prim/Internal/Base16.hs
+++ b/Data/ByteString/Builder/Prim/Internal/Base16.hs
@@ -1,4 +1,7 @@
 {-# LANGUAGE CPP #-}
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
 -- |
 -- Copyright   : (c) 2011 Simon Meier
 -- License     : BSD3-style (see LICENSE)
diff --git a/Data/ByteString/Builder/Prim/Internal/Floating.hs b/Data/ByteString/Builder/Prim/Internal/Floating.hs
index f33e63a..0fa85ca 100644
--- a/Data/ByteString/Builder/Prim/Internal/Floating.hs
+++ b/Data/ByteString/Builder/Prim/Internal/Floating.hs
@@ -1,4 +1,7 @@
 {-# LANGUAGE ScopedTypeVariables #-}
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
 -- |
 -- Copyright   : (c) 2010 Simon Meier
 --
diff --git a/Data/ByteString/Builder/Prim/Internal/UncheckedShifts.hs b/Data/ByteString/Builder/Prim/Internal/UncheckedShifts.hs
index 7673e9a..6d6908a 100644
--- a/Data/ByteString/Builder/Prim/Internal/UncheckedShifts.hs
+++ b/Data/ByteString/Builder/Prim/Internal/UncheckedShifts.hs
@@ -1,4 +1,7 @@
 {-# LANGUAGE CPP, MagicHash #-}
+#if __GLASGOW_HASKELL__ >= 703
+{-# LANGUAGE Unsafe #-}
+#endif
 -- |
 -- Copyright   : (c) 2010 Simon Meier
 --
diff --git a/Data/ByteString/Unsafe.hs b/Data/ByteString/Unsafe.hs
index cc0522a..5ac9cc5 100644
--- a/Data/ByteString/Unsafe.hs
+++ b/Data/ByteString/Unsafe.hs
@@ -2,6 +2,9 @@
 #if __GLASGOW_HASKELL__
 {-# LANGUAGE MagicHash #-}
 #endif
+#if __GLASGOW_HASKELL__ >= 703
+{-# LANGUAGE Unsafe #-}
+#endif
 
 -- |
 -- Module      : Data.ByteString.Unsafe



More information about the ghc-commits mailing list