home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.lang.lisp:2442 comp.lang.clos:815
- Newsgroups: comp.lang.lisp,comp.lang.clos
- Path: sparky!uunet!caen!batcomputer!cornell!raman
- From: raman@cs.cornell.edu (T. V. Raman)
- Subject: Smart diplay method
- Message-ID: <1992Sep15.234132.10261@cs.cornell.edu>
- Summary: print-object method that displays slot names and values
- Keywords: display objects, print objects clos
- Organization: Cornell Univ. CS Dept, Ithaca NY 14853
- Date: Tue, 15 Sep 1992 23:41:32 GMT
- Lines: 16
-
-
- How do I write a print-object method for a class that neatly formats
- slot names and values one per line without having to explicitly write
- (format "..."
- (<slot-name-value> object)
- ..
- )
-
- Thanks,
-
- --Raman
- --
- T. V. Raman <raman@cs.cornell.edu>Tel: (607)255-9202 R 272-3649
- Office: 4116 Upson Hall,
- Department of Computer Science, Cornell University Ithaca NY 14853-6201
- Res: 226 Bryant Avenue Ithaca NY 14850
-