Hi Konrad,

On 2015-09-01 20:42:42 +0200, Konrad Hinsen wrote:
> Thanks for the reference, but my interpretation of this is different. I
> don't care about eq?, nor about testing how objects were created. I want
> comparison by equal? by recursive application to the fields - just as for
> transparent structures.

It seems like the problem is that the wrappers that the class contract
installs does not take into account whether the original class has an
inspector of #f or not.

In particular, the code for class contracts explicitly installs a value for the
inspector that doesn't allow inspection (there's a comment saying "No
inspection").

But maybe it's worth revisiting this part of the design. I can look into if
it's possible to have the contracted class inherit the inspect of the original
and whether that causes any problems.

Cheers,
Asumu

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to