[plt-scheme] How to display constructor form in PrettyBig
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