on master help sign in
Merge pull request #36 from deian/master

Mark top-level modules Trustworthy

commit61ad70eb1a8616c6df0846b7d08fabd3a680cfd5 authorBryan O'Sullivan <bos@serpentine.com> dateMon 3 Dec 2012, 10:19 (14 years ago) parentc93192abdd94d2
10 files changed+31−4
Data/Text.hs+3 Data/Text/Encoding.hs+3 Data/Text/Encoding/Error.hs+3 Data/Text/IO.hs+3 Data/Text/Lazy.hs+3 Data/Text/Lazy/Encoding.hs+4−1 Data/Text/Lazy/IO.hs+3 Data/Text/Lazy/Read.hs+4−1 Data/Text/Read.hs+4−1 text.cabal+1−1
Data/Text.hs+3
@@ -1,5 +1,8 @@
11{-# LANGUAGE BangPatterns, CPP, MagicHash, Rank2Types, UnboxedTuples #-}
22{-# OPTIONS_GHC -fno-warn-orphans #-}
3+#if __GLASGOW_HASKELL__ >= 702
4+{-# LANGUAGE Trustworthy #-}
5+#endif
36
47-- |
58-- Module : Data.Text
Data/Text/Encoding.hs+3
@@ -1,5 +1,8 @@
11{-# LANGUAGE BangPatterns, CPP, ForeignFunctionInterface, MagicHash,
22 UnliftedFFITypes #-}
3+#if __GLASGOW_HASKELL__ >= 702
4+{-# LANGUAGE Trustworthy #-}
5+#endif
36-- |
47-- Module : Data.Text.Encoding
58-- Copyright : (c) 2009, 2010, 2011 Bryan O'Sullivan,
Data/Text/Encoding/Error.hs+3
@@ -1,4 +1,7 @@
11{-# LANGUAGE CPP, DeriveDataTypeable #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25-- |
36-- Module : Data.Text.Encoding.Error
47-- Copyright : (c) Bryan O'Sullivan 2009
Data/Text/IO.hs+3
@@ -1,4 +1,7 @@
11{-# LANGUAGE BangPatterns, CPP, RecordWildCards, ScopedTypeVariables #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25-- |
36-- Module : Data.Text.IO
47-- Copyright : (c) 2009, 2010 Bryan O'Sullivan,
Data/Text/Lazy.hs+3
@@ -1,5 +1,8 @@
11{-# OPTIONS_GHC -fno-warn-orphans #-}
22{-# LANGUAGE BangPatterns, MagicHash, CPP #-}
3+#if __GLASGOW_HASKELL__ >= 702
4+{-# LANGUAGE Trustworthy #-}
5+#endif
36-- |
47-- Module : Data.Text.Lazy
58-- Copyright : (c) 2009, 2010, 2012 Bryan O'Sullivan
Data/Text/Lazy/Encoding.hs+4−1
@@ -1,4 +1,7 @@
1−{-# LANGUAGE BangPatterns #-}
1+{-# LANGUAGE BangPatterns,CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25-- |
36-- Module : Data.Text.Lazy.Encoding
47-- Copyright : (c) 2009, 2010 Bryan O'Sullivan
Data/Text/Lazy/IO.hs+3
@@ -1,4 +1,7 @@
11{-# LANGUAGE BangPatterns, CPP, RecordWildCards #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25-- |
36-- Module : Data.Text.Lazy.IO
47-- Copyright : (c) 2009, 2010 Bryan O'Sullivan,
Data/Text/Lazy/Read.hs+4−1
@@ -1,4 +1,7 @@
1−{-# LANGUAGE OverloadedStrings #-}
1+{-# LANGUAGE OverloadedStrings, CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25
36-- |
47-- Module : Data.Text.Lazy.Read
Data/Text/Read.hs+4−1
@@ -1,4 +1,7 @@
1−{-# LANGUAGE OverloadedStrings, UnboxedTuples #-}
1+{-# LANGUAGE OverloadedStrings, UnboxedTuples, CPP #-}
2+#if __GLASGOW_HASKELL__ >= 702
3+{-# LANGUAGE Trustworthy #-}
4+#endif
25
36-- |
47-- Module : Data.Text.Read
text.cabal+1−1
@@ -131,7 +131,7 @@ library
131131 cpp-options: -DHAVE_DEEPSEQ
132132 else
133133 build-depends: extensible-exceptions
134− extensions: PatternSignatures
134+ extensions: ScopedTypeVariables
135135
136136 ghc-options: -Wall -funbox-strict-fields -O2
137137 if impl(ghc >= 6.8)