[Haskell-cafe] hFileSize vs length
S. Alexander Jacobson
alex at alexjacobson.com
Fri Mar 11 15:04:12 EST 2005
I am using GHC 6.2 on windows and am finding that when I open a file
and use hFileSize I get a different number than I get from reading in
the file and calculating the length. I assume this is not a bug, but
I don't know why its happening.
Also, why isn't there getFileSize function in System.Directory?
S. Alexander Jacobson tel:917-770-6565 http://alexjacobson.com
More information about the Haskell-Cafe