aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes
diff options
context:
space:
mode:
authorGabriel Gonzalez <Gabriel439@gmail.com>2014-02-06 11:04:07 +0700
committerGabriel Gonzalez <Gabriel439@gmail.com>2014-02-06 11:04:07 +0700
commit9667f79789b7c3e3b0a31eaf61b2e09a0346af62 (patch)
tree72544584a8bba238a0c47f5beab21bf88df9083d /Pipes
parenta008fca5db4c33cf639f095c53bc60737f72e1fb (diff)
downloadtext-pipes-9667f79789b7c3e3b0a31eaf61b2e09a0346af62.tar.gz
text-pipes-9667f79789b7c3e3b0a31eaf61b2e09a0346af62.tar.zst
text-pipes-9667f79789b7c3e3b0a31eaf61b2e09a0346af62.zip
Removed use of CPP to guard Trustworthy
The CPP guard is only required for GHC 7.2 and older, but even Debian stable packs GHC 7.4. Also, CPP currently causes problems on OSX because of the transition to clang so I'm currently being very conservative about using it. When I originally started using the CPP guards GHC 6.12 was still a supported compiler for `pipes`, but it's not any longer.
Diffstat (limited to 'Pipes')
-rw-r--r--Pipes/Text.hs8
1 files changed, 3 insertions, 5 deletions
diff --git a/Pipes/Text.hs b/Pipes/Text.hs
index c0c0946..a4ad221 100644
--- a/Pipes/Text.hs
+++ b/Pipes/Text.hs
@@ -1,7 +1,5 @@
1{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, CPP #-} 1{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, Trustworthy #-}
2#if __GLASGOW_HASKELL__ >= 702 2
3{-# LANGUAGE Trustworthy #-}
4#endif
5{-| This module provides @pipes@ utilities for \"text streams\", which are 3{-| This module provides @pipes@ utilities for \"text streams\", which are
6 streams of 'Text' chunks. The individual chunks are uniformly @strict@, but 4 streams of 'Text' chunks. The individual chunks are uniformly @strict@, but
7 a 'Producer' can be converted to and from lazy 'Text's, though this is generally 5 a 'Producer' can be converted to and from lazy 'Text's, though this is generally
@@ -1159,4 +1157,4 @@ decodeIso8859_1 = go where
1159 1157
1160 1158
1161 1159
1162 \ No newline at end of file 1160