[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pretty-print



Hi everyone,

is there a way in Plt-Scheme to print the original lambda expression for a
compound procedure? In MIT Scheme I could write something like:

(define test
   (lambda (x) (+ x 1))

(pp test)
Value: (named-lambda (test x)
               (+ x 1))


(pp is a MIT Scheme procedure, it stands for "pretty-print")

Thanks for any help.

-----------------------------------------------
David Skoupil
Palacky University
skoupil@upol.cz
www.inf.upol.cz/~skoupil