aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes
diff options
context:
space:
mode:
Diffstat (limited to 'Pipes')
-rw-r--r--Pipes/Text.hs15
1 files changed, 10 insertions, 5 deletions
diff --git a/Pipes/Text.hs b/Pipes/Text.hs
index de581ad..20c226e 100644
--- a/Pipes/Text.hs
+++ b/Pipes/Text.hs
@@ -79,14 +79,19 @@ module Pipes.Text (
79 , module Pipes.Group 79 , module Pipes.Group
80 ) where 80 ) where
81 81
82import Control.Applicative ((*>))
82import Control.Monad (liftM, join) 83import Control.Monad (liftM, join)
84import Data.Functor.Constant (Constant(..))
85import Data.Functor.Identity (Identity)
83import Control.Monad.Trans.State.Strict (modify) 86import Control.Monad.Trans.State.Strict (modify)
87
84import qualified Data.Text as T 88import qualified Data.Text as T
85import Data.Text (Text) 89import Data.Text (Text)
86import qualified Data.Text.Lazy as TL 90import qualified Data.Text.Lazy as TL
87import Data.ByteString (ByteString) 91import Data.ByteString (ByteString)
88import Data.Functor.Constant (Constant(Constant, getConstant)) 92import Data.Char (isSpace)
89import Data.Functor.Identity (Identity) 93import Foreign.Storable (sizeOf)
94import Data.Bits (shiftL)
90 95
91import Pipes 96import Pipes
92import Pipes.Group (folds, maps, concats, intercalates, FreeT(..), FreeF(..)) 97import Pipes.Group (folds, maps, concats, intercalates, FreeT(..), FreeF(..))
@@ -94,9 +99,9 @@ import qualified Pipes.Group as PG
94import qualified Pipes.Parse as PP 99import qualified Pipes.Parse as PP
95import Pipes.Parse (Parser) 100import Pipes.Parse (Parser)
96import qualified Pipes.Prelude as P 101import qualified Pipes.Prelude as P
97import Data.Char (isSpace) 102
98import Foreign.Storable (sizeOf) 103
99import Data.Bits (shiftL) 104
100import Prelude hiding ( 105import Prelude hiding (
101 all, 106 all,
102 any, 107 any,