[plt-scheme] Re: newbie question: printing structs?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Tue Mar 13 09:52:37 EDT 2007

In the SVN version of the software print struct is #t by default --  
Matthias


On Mar 13, 2007, at 2:30 AM, Andrew Reilly wrote:

> On Tue, Mar 13, 2007 at 04:53:11PM +1100, Andrew Reilly wrote:
>> When debugging, how can I print the entire contents of a struct?
>
> Aah.  I think I've just got it:
> (print-struct #t) gates subsequent display of struct contents,  
> which is also
> gated by the #f argument to define-struct.  Neat.
>
> Cheers,
>
> -- 
> Andrew
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.