Guest User

Untitled

a guest
Apr 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. -- ghc --make -O2 -prof -auto-all -caf-all -fforce-recomp lazyio-leaky.hs
  2. module Main where
  3. import Data.ByteString.Lazy (ByteString)
  4. import qualified Data.ByteString.Lazy.Char8 as BS (readFile, putStr)
  5. import System.Environment (getArgs)
  6.  
  7. main :: IO ()
  8. main = do
  9. (f:_) <- getArgs
  10. c <- BS.readFile f
  11. BS.putStr c
  12. BS.putStr c
Add Comment
Please, Sign In to add comment