> > - 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?
I don't have any strong opinions on the matter, I just changed it to
match the spec because someone complained.
Do you have an example where the previous behaviour is more useful?
Perhaps it should be brought up on the FFI list.
Cheers,
Simon
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries