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

From: Andrew Reilly (andrew-scheme at areilly.bpc-users.org)
Date: Tue Mar 13 02:30:37 EDT 2007

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.



Posted on the users mailing list.