
27 Jul
2006
27 Jul
'06
7:13 a.m.
Hello Simon, Simon, are you remember problem with using hTell+hSeek on handles open in text (not binary) mode on Windows? afair, you was finished with the decision to use NoBuffering for text files on Windows? but this solution is very inefficient. i now thought about dealing with the same problem in my lib and found that there is another solution - prohibit using of hTell/hSeek on files open in text mode (on Unix, too?). i think this is better - one should either open file in binary mode and use random access or open file in text mode and read/write it sequentially. what you think about it? also, i will be glad to hear comments from other haskellers -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com