]> git.immae.eu Git - github/fretlink/text-pipes.git/blame - bench/IO.hs
Rename function to readFileLn, export fromHandleLn
[github/fretlink/text-pipes.git] / bench / IO.hs
CommitLineData
3694350a 1import qualified Data.Text.IO as T
2import qualified Data.Text as T
3import qualified Data.Text.Lazy.IO as TL
4import qualified Data.Text.Lazy as TL
5
6import Pipes
7import qualified Pipes.Text as TP
8import qualified Pipes.ByteString as BP
9import Pipes.Safe
10
11main = textaction
12big = "../../examples/txt/words2.txt"
13
14textaction = T.readFile big >>= T.putStrLn
15pipeaction = runEffect $ for ((TP.readFile big) >> return ()) (lift . T.putStrLn)
16
17
18
19
20