Very thanks for your example, I have not notice that there is a group of hGetxxx functions in ByteString. In other words, I was using hGetxxx which implemented in IO module. So it always failed.
------------------ L.Guo 2007-05-24 ------------------------------------------------------------- From: Donald Bruce Stewart At: 2007-05-24 17:31:02 Subject: Re: Re: [Haskell-cafe] (no subject) I mean, what problem are you trying to solve? Ptrs aren't the usual way to manipulate files in Haskell. ... -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe