From: Gavin Sinclair Date: 2004-05-25T08:01:46+09:00 Subject: Re: How to pp-enable a class? On Tuesday, May 25, 2004, 6:08:07 AM, Hal wrote: > Are there good docs or even a tutorial on how to enable a class > to be prettyprinted with pp? > It looks like the sort of thing I could figure out in 5 or 6 hours > of experimentation. I'd rather not spend those if I can help it. I've never expended any effort "preparing" a class for pp'ing. I just pp it and am happy with the result. Objects are just a recursive collection of objects and core types. Core types have their pp defined, and objects are just structure. So it should all Just Work. Cheers, Gavin