[Haskell-cafe] Re: Order of Evaluation
barsoap at web.de
Fri May 9 17:34:40 EDT 2008
Miguel Mitrofanov <miguelimo38 at yandex.ru> wrote:
> > 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.
Nope. That'd be unsafeCoerce#, which you never heard of, and I did not
mention it in this post. Go away. This is not the function you are
(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
More information about the Haskell-Cafe