Yes, and that foo || True == False for some value of foo, which I find
pretty weird.  I would not surprised if (1 `unsafePtrEq` 1) == False,
especially given the two distinct implicit calls to fromInteger, etc,
but the answer seems to be neither true nor false.   - Conal

-----Original Message-----
From: Alastair Reid [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 24, 2002 4:55 AM
To: Simon Peyton-Jones
Cc: Conal Elliott; Ghc-Bugs
Subject: Re: More pointer-equality weirdness


Simon:
> So pointer equality may change over time.
> That's what you get for pointer-equality.

I think the point of Conal's mail was that ghci prints just one answer
then halts (crashes?) whereas ghc prints two.

--
Alastair
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to