I'm starting to wonder if this isn't an issue with
Data.ByteString.Lazy.Char8.{read,write}File.

This simple test case fails:

  module Main where
  import qualified Data.ByteString.Lazy.Char8 as B
  main = do
      print =<< B.readFile "xxx"
      B.writeFile "xxx" =<< B.readFile "test.hs"

If you replace B.readFile with readFile and B.writeFile with writeFile
it works properly.  ByteString bug?

Tim Newsham
http://www.thenewsh.com/~newsham/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to