« Return to Thread: Order of Evaluation

Re: Order of Evaluation

by Miguel Mitrofanov :: Rate this Message:

Reply to Author | View in Thread

> As I understand it Haskell does not specify an order of evaluation
> and it would therefore be a mistake to write a program which relies
> on a particular evaluation order. This is the 'unsafe' aspect of
> unsafePerformIO.

Hmm... IMHO unsafePerformIO is 'unsafe' because it can lead to type  
errors in runtime. At least, that seems to be much more dangerous.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

 « Return to Thread: Order of Evaluation