On 28-Apr-2000, Jan Skibinski <[EMAIL PROTECTED]> wrote:
> 
>       When can I safely cheat haskell compiler/interpreter
>       by pretending that I perform pure computations,
>       when in fact they are not?

That depends on what degree of safety and portability you want.
If you want the greatest degree of both of those, then currently
the only safe answer is "never".  The Haskell 98 Report does not
standardize `unsafePerformIO', and so there are no guarantees
about whether future implementations will have such a function,
or what it would do, or when it would be safe.

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger [EMAIL PROTECTED]        |     -- the last words of T. S. Garp.

Reply via email to