To read the handle openBinaryFile returns, both the hGetBuf and hGetBufNonBlocking needs one parameter _buf_ of type Ptr a. I can not get one data of that type.
In the doc, there is only nullPtr, and also some type cast functions. I failed to find some other buffer-maker function. What should I do ? ------------------ L.Guo 2007-05-24 ------------------------------------------------------------- From: Donald Bruce Stewart At: 2007-05-24 17:03:55 Subject: Re: Re: [Haskell-cafe] (no subject) What are you trying to do? -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe