[plt-scheme] pretty-print?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Thu Apr 19 15:53:21 EDT 2007

Isn't beauty in the eye of the beholder? :)

The pretty-print library (and in general, the printing libraries in
mzscheme) only prints trees, not procedures.

Robby

On 4/19/07, dillogimp at gmail.com <dillogimp at gmail.com> wrote:
> Welcome to MzScheme version 360, Copyright (c) 2004-2006 PLT Scheme
> Inc.
>
> (require (lib "pretty.ss"))
> (define sq (lambda (x) (* x x))) (sq 5)mzscheme
> (pretty-print sq)
> #<procedure:sq>
>
> This is not pretty...
>
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>


Posted on the users mailing list.