[plt-scheme] How to display constructor form in PrettyBig

From: Barry Brown (barry at cs.sierracollege.edu)
Date: Mon Apr 5 12:48:57 EDT 2010

I'm sorry; I should have mentioned in my original email that I have tried that. It still prints only (make-node ...)

-B

On Apr 5, 2010, at 9:38 AM, Matthias Felleisen wrote:

> 
> Open the Language Dialog. Choose constructor-style printing. Okay. Enjoy.
> 
> 
> On Apr 5, 2010, at 12:27 PM, Barry Brown wrote:
> 
>> How do I get PrettyBig or #lang scheme to display structures using the complete constructor form the way Beginning Student does?
>> 
>> I want to do this:
>> (define-struct node (value left right))
>> (make-node 10 (make-node 5 empty empty) empty)
>> 
>> and have it display as:
>> (make-node 10 (make-node 5 empty empty) empty)
>> 
>> instead of:
>> (make-node ...)
>> 
>> I have tried (require syntax/struct) and (require syntax/to-string) to no avail.
>> 
>> Thanks!
>> 
>> -B_________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 



Posted on the users mailing list.