unsafeness of unsafeInterleaveIO

Lennart Augustsson lennart at augustsson.net
Fri Jun 10 15:48:09 EDT 2005


Andre Pang wrote:
> 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 :)

Indeed I did. :)


More information about the Glasgow-haskell-users mailing list