unsafePerformIO and cooperative concurrency

Ashley Yakeley ashley at semantic.org
Tue Apr 25 16:54:14 EDT 2006


Marcin 'Qrczak' Kowalczyk wrote:

> I would prefer otherwise. Every implementation supports it, which
> proves that it's useful. And it's no less unsafe than FFI.

It's not a matter just of safety, it's a matter of whether its use 
should be encouraged. FFI is clearly the "right thing" sometimes, 
unsafePerformIO rarely is.

-- 
Ashley Yakeley, Seattle WA
WWEWDD? http://www.cs.utexas.edu/users/EWD/



More information about the Haskell-prime mailing list