On 10/06/2005, at 11:16 AM, Remi Turk wrote:
Are you sure you're not talking about unsafePerformIO? System.IO.Unsafe.unsafePerformIO :: IO a -> a System.IO.Unsafe.unsafeInterleaveIO :: IO a -> IO a
[written to Lennert Augustsson]: yes, I think you misread unsafeInterleaveIO as unsafePerformIO, Lennert :)
As far as I know unsafeInterleaveIO in general isn't any unsafer than it's "special cases" getContents / hGetContents / readFile / getChanContents. Although fighting lazy IO might occasionally drive someone mad, which could arguably be called "unsafe".
OK, that's more-or-less what I thought. Thanks Remi! -- % Andre Pang : trust.in.love.to.save <http://www.algorithm.com.au/> _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
