
29 Apr
2006
29 Apr
'06
1:56 a.m.
Ashley Yakeley:
Simon Marlow wrote:
Given that unsafePerformIO is (perhaps) to be part of the Haskell' standard,
Is there a ticket for this? I would prefer that unsafePerformIO and friends not be part of the standard.
Well, you need it for the FFI (for marshalling in pure foreign imports). Plus you can efin eyour own one using the FFI. Manuel
At risk of drifting off-topic, I think it would be better to find examples where unsafePerformIO is needed and used safely, and come up with safe functions for that (but not necessarily as part of the Prime effort). IIRC the darcs code uses it a lot.