[Haskell-cafe] Order of Evaluation

Miguel Mitrofanov miguelimo38 at yandex.ru
Fri May 9 14:49:11 EDT 2008


> 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.


More information about the Haskell-Cafe mailing list