[commit: packages/stm] master: Tighten Safe Haskell bounds. (6b63e91)

git at git.haskell.org git at git.haskell.org
Thu Nov 13 01:37:19 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/stm.git/commitdiff/6b63e91b2b0b7d7b4bef654117da62c22cac34da

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

commit 6b63e91b2b0b7d7b4bef654117da62c22cac34da
Author: David Terei <code at davidterei.com>
Date:   Wed Nov 12 17:35:21 2014 -0800

    Tighten Safe Haskell bounds.


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

6b63e91b2b0b7d7b4bef654117da62c22cac34da
 Control/Concurrent/STM.hs | 4 +++-
 Control/Sequential/STM.hs | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Control/Concurrent/STM.hs b/Control/Concurrent/STM.hs
index 1fc6a77..83fbdc5 100644
--- a/Control/Concurrent/STM.hs
+++ b/Control/Concurrent/STM.hs
@@ -1,6 +1,8 @@
 {-# LANGUAGE CPP #-}
 
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
 
diff --git a/Control/Sequential/STM.hs b/Control/Sequential/STM.hs
index 686a406..226c788 100644
--- a/Control/Sequential/STM.hs
+++ b/Control/Sequential/STM.hs
@@ -4,7 +4,9 @@
 
 {-# LANGUAGE CPP #-}
 
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
 {-# LANGUAGE Trustworthy #-}
 #endif
 



More information about the ghc-commits mailing list