1 import qualified Data.Text.IO as T
2 import qualified Data.Text as T
3 import qualified Data.Text.Lazy.IO as TL
4 import qualified Data.Text.Lazy as TL
7 import qualified Pipes.Text as TP
8 import qualified Pipes.ByteString as BP
12 big = "../../examples/txt/words2.txt"
14 textaction = T.readFile big >>= T.putStrLn
15 pipeaction = runEffect $ for ((TP.readFile big) >> return ()) (lift . T.putStrLn)