[commit: containers] master: Only use Safe Haskell if using GHC >= 7.3 (cd11241)
Ian Lynagh
igloo at earth.li
Wed Oct 5 21:11:41 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/cd1124133672df73d18cc2cbd85ce5fc706fa7ec
>---------------------------------------------------------------
commit cd1124133672df73d18cc2cbd85ce5fc706fa7ec
Author: Johan Tibell <johan.tibell at gmail.com>
Date: Mon Oct 3 21:08:32 2011 -0700
Only use Safe Haskell if using GHC >= 7.3
In 7.2, deepseq wasn't using Safe Haskell, so we can't either.
>---------------------------------------------------------------
Data/Graph.hs | 2 +-
Data/IntMap.hs | 2 +-
Data/IntSet.hs | 2 +-
Data/Map.hs | 2 +-
Data/Sequence.hs | 2 +-
Data/Set.hs | 2 +-
Data/Tree.hs | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Data/Graph.hs b/Data/Graph.hs
index 1bc30c3..c8a5d04 100644
--- a/Data/Graph.hs
+++ b/Data/Graph.hs
@@ -1,4 +1,4 @@
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/IntMap.hs b/Data/IntMap.hs
index 0f99452..1abee2b 100644
--- a/Data/IntMap.hs
+++ b/Data/IntMap.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE NoBangPatterns, ScopedTypeVariables #-}
-#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
+#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/IntSet.hs b/Data/IntSet.hs
index f19243f..e107337 100644
--- a/Data/IntSet.hs
+++ b/Data/IntSet.hs
@@ -1,4 +1,4 @@
-#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
+#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/Map.hs b/Data/Map.hs
index 73b50d0..dec7174 100644
--- a/Data/Map.hs
+++ b/Data/Map.hs
@@ -1,5 +1,5 @@
{-# LANGUAGE NoBangPatterns #-}
-#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
+#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Safe #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/Sequence.hs b/Data/Sequence.hs
index c2ebb05..3798458 100644
--- a/Data/Sequence.hs
+++ b/Data/Sequence.hs
@@ -1,4 +1,4 @@
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/Set.hs b/Data/Set.hs
index 881e0d6..96111fe 100644
--- a/Data/Set.hs
+++ b/Data/Set.hs
@@ -1,4 +1,4 @@
-#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
+#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Safe #-}
#endif
-----------------------------------------------------------------------------
diff --git a/Data/Tree.hs b/Data/Tree.hs
index 4f00b0d..609180d 100644
--- a/Data/Tree.hs
+++ b/Data/Tree.hs
@@ -1,4 +1,4 @@
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Safe #-}
#endif
-----------------------------------------------------------------------------
More information about the Cvs-libraries
mailing list