
23 Aug
2010
23 Aug
'10
11:38 a.m.
On Mon, Aug 23, 2010 at 8:29 AM, Simon Marlow
Which documentation are you referring to? This looks ok to me:
http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/System-IO...
Indeed, while there isn't a big fat warning, it does say that it reads 'count' bytes. However, both RawIO.read and BufferedIO.fillReadBuffer are a bit misleading. The former says that it doesn't block when there isn't data available, the latter doesn't say anything. http://hackage.haskell.org/packages/archive/base/4.2.0.1/doc/html/src/GHC-IO... http://hackage.haskell.org/packages/archive/base/4.2.0.1/doc/html/src/GHC-IO... Cheers! =) -- Felipe.