[commit: packages/haskell2010] master: Mark Array as Safe rather than Trustworthy. (a21abff)

git at git.haskell.org git at git.haskell.org
Thu Nov 13 01:44:45 UTC 2014


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

On branch  : master
Link       : http://git.haskell.org/packages/haskell2010.git/commitdiff/a21abff3e385a85e1353aa720516e148865710a1

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

commit a21abff3e385a85e1353aa720516e148865710a1
Author: David Terei <code at davidterei.com>
Date:   Wed Nov 12 17:44:59 2014 -0800

    Mark Array as Safe rather than Trustworthy.


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

a21abff3e385a85e1353aa720516e148865710a1
 Data/Array.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Data/Array.hs b/Data/Array.hs
index 100674d..760c26e 100644
--- a/Data/Array.hs
+++ b/Data/Array.hs
@@ -1,5 +1,7 @@
 {-# LANGUAGE CPP, PackageImports #-}
-#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