Skip to content

Commit 770fbc3

Browse files
committed
Merge pull request #1 from dterei/master
patch for containers to use Safe Haskell
2 parents 963049d + 7d478dc commit 770fbc3

File tree

7 files changed

+23
-5
lines changed

7 files changed

+23
-5
lines changed

Data/Graph.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Trustworthy #-}
3+
#endif
14
-----------------------------------------------------------------------------
25
-- |
36
-- Module : Data.Graph

Data/IntMap.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
{-# LANGUAGE CPP, NoBangPatterns, MagicHash, ScopedTypeVariables #-}
1+
#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Trustworthy #-}
3+
#endif
4+
{-# LANGUAGE NoBangPatterns, ScopedTypeVariables #-}
25
-----------------------------------------------------------------------------
36
-- |
47
-- Module : Data.IntMap

Data/IntSet.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{-# LANGUAGE CPP, MagicHash #-}
1+
#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Trustworthy #-}
3+
#endif
24
-----------------------------------------------------------------------------
35
-- |
46
-- Module : Data.IntSet

Data/Map.hs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
{-# LANGUAGE CPP, NoBangPatterns #-}
1+
#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Safe #-}
3+
#endif
4+
{-# LANGUAGE NoBangPatterns #-}
25
-----------------------------------------------------------------------------
36
-- |
47
-- Module : Data.Map

Data/Sequence.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{-# LANGUAGE CPP, DeriveDataTypeable #-}
1+
#if __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Trustworthy #-}
3+
#endif
24
-----------------------------------------------------------------------------
35
-- |
46
-- Module : Data.Sequence

Data/Set.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
{-# LANGUAGE CPP #-}
1+
#if !defined(TESTING) && __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Safe #-}
3+
#endif
24
-----------------------------------------------------------------------------
35
-- |
46
-- Module : Data.Set

Data/Tree.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#if __GLASGOW_HASKELL__ >= 701
2+
{-# LANGUAGE Safe #-}
3+
#endif
14
-----------------------------------------------------------------------------
25
-- |
36
-- Module : Data.Tree

0 commit comments

Comments
 (0)