[Haskell] line-based interactive program

Wolfgang Jeltsch wolfgang at jeltsch.net
Fri Jul 8 16:01:42 EDT 2005


Am Freitag, 8. Juli 2005 19:21 schrieb Olaf Chitil:
> [...]

> In fact, unsafeInterleaveIO shows up limitations of the IO monad.
> Without this strange primitive (what is actually unsafe about it?)

unsafeInterleaveIO doesn't break referential transparency, right?  I suppose, 
it is unsafe in the sense that what happens upon execution depends on the 
order of evaluation.

> [...]

> Ciao,
> Olaf

Best wishes,
Wolfgang


More information about the Haskell mailing list