cvs commit: fptools/libraries/base/Foreign ForeignPtr.hs

Alastair Reid alastair@reid-consulting-uk.ltd.uk
06 Nov 2002 14:47:56 +0000


>   - Fix the Eq instance for ForeignPtr to match the behaviour
> specified by the spec.  Two ForeignPtrs are equal iff their
> underlying Ptrs are equal (previously they were equal iff they were
> the same ForeignPtr).
  
Hmmm, the Hugs implementation goes for 'same foreignptr' and, to me,
that seems to make more sense.

I wonder why the spec changed the semantics from that in the Hugs-GHC spec?

--
Alastair