home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / lisp / 2072 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  990 b 

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!jvnc.net!yale.edu!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Beware of print-object methods when debugging
  5. Date: 22 Jul 1992 16:15:15 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 13
  8. Message-ID: <14k1ijINNmk@early-bird.think.com>
  9. References: <mlg.711741357@volvo>
  10. NNTP-Posting-Host: telecaster.think.com
  11.  
  12. In article <mlg.711741357@volvo> mlg@siemens.com. (Michael Greenberg) writes:
  13. >It turns out the problem was that his print-object method for the
  14. >class 'foo' sometimes printed 'NIL'.
  15.  
  16. Hmm, perhaps there should be a global *PRINT-OBJECTS* variable that governs
  17. whether PRINT-OBJECT is called.  It should default to T, but if it were NIL
  18. then the standard #<...> notation would be used for CLOS objects.
  19.  
  20. -- 
  21. Barry Margolin
  22. System Manager, Thinking Machines Corp.
  23.  
  24. barmar@think.com          {uunet,harvard}!think!barmar
  25.