RE: [racket-users] transparency of structs?

2019-09-08 Thread jos.koot
Thanks,
make-sibling-inspector does what I want.
Jos

-Mensaje original-
De: Ben Greenman  
Enviado el: 08 September 2019 01:20
Para: jos.k...@gmail.com
CC: Racket Users 
Asunto: Re: [racket-users] transparency of structs?

I see the same results on Racket 7.0 and 6.5, so I don't think anything has 
changed.

Maybe the trouble is that (make-inspector) makes a subinspector of 
(current-inspector), which has the same value for both the main module & the 
submodules.

Switching to (make-sibling-inspector) causes (struct? an-s) to return #f


This email has been scanned by BullGuard antivirus protection.
For more info visit www.bullguard.com


-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/01d56641%24fbdbc890%24f39359b0%24%40gmail.com.


Re: [racket-users] transparency of structs?

2019-09-07 Thread Ben Greenman
I see the same results on Racket 7.0 and 6.5, so I don't think
anything has changed.

Maybe the trouble is that (make-inspector) makes a subinspector of
(current-inspector), which has the same value for both the main module
& the submodules.

Switching to (make-sibling-inspector) causes (struct? an-s) to return #f

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAFUu9R4%2BZ-CzmGCx7rZhcqanJXNpTJsyXEB52_bHRT_FC%3DqTqA%40mail.gmail.com.