IO Bool -> Bool

Andrew J Bromage ajb@spamcop.net
Fri, 15 Aug 2003 16:12:11 +1000


G'day all.

On Thu, Aug 14, 2003 at 11:30:11AM -0700, Brandon Michael Moore wrote:

> I'm surprise nobody has mentioned unsafePerformIO (:: IO a -> a).
> As the name suggests, it isn't referentially transparent.

I'm not surprised.  First, it's not standard Haskell.  Second, people
tend not to mention it because you really shouldn't use it unless
you know what you're doing.

Cheers,
Andrew Bromage