[commit: packages/haskell98] master: Mark some modules as Safe rather than Trustworthy. (cf064d9)
git at git.haskell.org
git at git.haskell.org
Thu Nov 13 01:44:02 UTC 2014
Repository : ssh://git@git.haskell.org/haskell98
On branch : master
Link : http://git.haskell.org/packages/haskell98.git/commitdiff/cf064d954c511a2edddb5a55a1984d57ce36c407
>---------------------------------------------------------------
commit cf064d954c511a2edddb5a55a1984d57ce36c407
Author: David Terei <code at davidterei.com>
Date: Wed Nov 12 17:44:03 2014 -0800
Mark some modules as Safe rather than Trustworthy.
>---------------------------------------------------------------
cf064d954c511a2edddb5a55a1984d57ce36c407
Array.hs | 4 +++-
Directory.hs | 4 +++-
Locale.hs | 4 +++-
System.hs | 4 +++-
Time.hs | 4 +++-
5 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/Array.hs b/Array.hs
index 86e8796..3bcc271 100644
--- a/Array.hs
+++ b/Array.hs
@@ -1,5 +1,7 @@
{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/Directory.hs b/Directory.hs
index 68f67ba..bfea5de 100644
--- a/Directory.hs
+++ b/Directory.hs
@@ -1,5 +1,7 @@
{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/Locale.hs b/Locale.hs
index ba231f6..65123da 100644
--- a/Locale.hs
+++ b/Locale.hs
@@ -1,5 +1,7 @@
{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/System.hs b/System.hs
index ebc4ea7..212af71 100644
--- a/System.hs
+++ b/System.hs
@@ -1,5 +1,7 @@
{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 701
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 701
{-# LANGUAGE Trustworthy #-}
#endif
diff --git a/Time.hs b/Time.hs
index 736256e..67f4c85 100644
--- a/Time.hs
+++ b/Time.hs
@@ -1,5 +1,7 @@
{-# 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