Only include Safe Haskell flags for GHC >= 702
commit556487f36fd02455fb5eeb81a92fcc9abf4d50a8
authorAmit Aryeh Levy <amit@amitlevy.com>
dateThu 11 Sep 2014, 13:17 (12 years ago)
parent916f12a
Data/Attoparsec/ByteString.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-}
4+#endif
25-- |
36-- Module : Data.Attoparsec.ByteString
47-- Copyright : Bryan O'Sullivan 2007-2014
Data/Attoparsec/ByteString/Char8.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Imports internal modules
4+#endif
25{-# LANGUAGE BangPatterns, FlexibleInstances, TypeFamilies,
36 TypeSynonymInstances, GADTs #-}
47{-# OPTIONS_GHC -fno-warn-orphans -fno-warn-warnings-deprecations #-}
Data/Attoparsec/ByteString/Lazy.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Imports internal modules
4+#endif
25
36-- |
47-- Module : Data.Attoparsec.ByteString.Lazy
Data/Attoparsec/Combinator.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Imports internal modules
4+#endif
25{-# LANGUAGE BangPatterns #-}
36-- |
47-- Module : Data.Attoparsec.Combinator
Data/Attoparsec/Text.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Imports internal modules
4+#endif
25{-# LANGUAGE BangPatterns, FlexibleInstances, TypeSynonymInstances #-}
36{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
47
Data/Attoparsec/Text/Lazy.hs+4
@@ -1,4 +1,8 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Imports internal modules
4+#endif
5+
26{-# OPTIONS_GHC -fno-warn-warnings-deprecations #-}
37-- |
48-- Module : Data.Attoparsec.Text.Lazy
Data/Attoparsec/Zepto.hs+3
@@ -1,4 +1,7 @@
1+{-# LANGUAGE CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
13{-# LANGUAGE Trustworthy #-} -- Data.ByteString.Unsafe
4+#endif
25{-# LANGUAGE BangPatterns, MagicHash, UnboxedTuples #-}
36
47-- |