From 9667f79789b7c3e3b0a31eaf61b2e09a0346af62 Mon Sep 17 00:00:00 2001 From: Gabriel Gonzalez Date: Thu, 6 Feb 2014 11:04:07 +0700 Subject: 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. --- Pipes/Text.hs | 8 +++----- 1 file 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 @@ -{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, CPP #-} -#if __GLASGOW_HASKELL__ >= 702 -{-# LANGUAGE Trustworthy #-} -#endif +{-# LANGUAGE RankNTypes, TypeFamilies, BangPatterns, Trustworthy #-} + {-| This module provides @pipes@ utilities for \"text streams\", which are streams of 'Text' chunks. The individual chunks are uniformly @strict@, but a 'Producer' can be converted to and from lazy 'Text's, though this is generally @@ -1159,4 +1157,4 @@ decodeIso8859_1 = go where - \ No newline at end of file + -- cgit v1.2.3