[plt-scheme] Inspectors in mzscheme

From: Robby Findler (robby at cs.uchicago.edu)
Date: Wed Jan 21 22:40:53 EST 2004

The current (CVS) version of DrScheme now works like mzscheme. This was
fixed some months ago.

Robby

At Wed, 21 Jan 2004 22:32:42 -0500 (EST), Guillaume Marceau wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> 
> The following code does not behaves the same under drscheme and mzscheme
> with respect to inspectors:
> 
>    (define-struct loc (x y) (make-inspector))
>    (display (format "~a~n" (make-loc 4 5)))
> 
> Under mzscheme, it prints the opaque value:
>     #<struct:loc>
> 
> Under drscheme, it prints the open value:
>     #(struct:loc 4 5)
> 
> I'm not sure I understand why there is a difference.
> Is it possible to get the open value behavior under mzscheme?
> 
> -- 
> "The thing I remember most about America is that it's silly.
>  That can be quite a relief at times."  -- Thom Yorke, Radiohead
> 
> - Guillaume
> 
> 



Posted on the users mailing list.