unsafePerformIO and cooperative concurrency

John Meacham john at repetae.net
Mon Apr 24 16:25:30 EDT 2006

On Mon, Apr 24, 2006 at 01:57:57PM +0100, Simon Marlow wrote:
> Given that unsafePerformIO is (perhaps) to be part of the Haskell'
> standard, the combination of unsafePerformIO and cooperative concurrency
> introduces some interesting cases that will probably have to be declared
> to be undefined in the standard - what happens when you yield or do some
> I/O inside unsafePerformIO?
I put a small note on the wiki about this saying behavior should be
implementation specific. I don't think we should try to define any
particular behavior for unsafePerformIO trickiness.


John Meacham - ⑆repetae.net⑆john⑈

More information about the Haskell-prime mailing list