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

_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to