19 Aug
2003
19 Aug
'03
11:23 a.m.
On Tuesday, 2003-08-19, 13:18, Simon Marlow wrote:
[...]
Yes, I agree that one shouldn't rely on the "no duplication of work" property. However, folloing this argument we arrive at the conclusion that hGetContents is an invalid use of unsafePerformIO. (which is something I've been saying for a while now :-).
Can't hGetContents be implemented without unsafePerformIO but with unsafeInterleaveIO? Wouldn't this be valid? Am I'm missing something here?
Cheers, Simon
Wolfgang