Pretty Printing

Pretty Printer library written by Marc Feeley © 1991.

Summary
Pretty PrintingPretty Printer library written by Marc Feeley © 1991.
(mosh pp)Pretty Printer Library
Functions
pretty-printpretty print out Scheme object to the output port.
pPrint obj and return obj.
ppshort cut for pretty-print

(mosh pp)

Pretty Printer Library

Summary
Functions
pretty-printpretty print out Scheme object to the output port.
pPrint obj and return obj.
ppshort cut for pretty-print

Functions

pretty-print

pretty print out Scheme object to the output port.  N.B. this can’t handle circular structure.

Prototype

(pretty-print obj . port)

Parameters

objobject to print
portoutput port.  Default is (current-output-port).

Returns

unspecified

p

Print obj and return obj.  This is useful for debugging like following.

(and (p hoge) (p hige))

Prototype

(p obj)

Parameters

objobject to print. obj can be multiple values.

Returns

obj

pp

short cut for pretty-print

Prototype

(pp obj)

Parameters

objobject to print. obj can be multiple values.

Returns

unspecified

pretty print out Scheme object to the output port.
Close