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

Pretty printing examples?



The pretty-printer (module pprint in common-dylan) mystifies me, but
I'm sure that if I knew how to use it that I would use it quite a
bit[0][1].  Does anyone have examples to share?  Particularly where
they used pprint to automate line breaks and indenting?

Sincerely,
Doug Auclair

[0] At the very least, Marlais, the Dylan interpreter at
http://marlais.sourceforge.net, could use a good kick where it prints
out function definitions -- all one long line, and prefix syntax to
boot; *ugh*.
[1] I also know I would use it often because I keep reinventing it for
each project I start.