home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2392 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  2.2 KB

  1. Path: sparky!uunet!crdgw1!ge-dab!puma.ATL.GE.COM!newshost!sjameson
  2. From: sjameson@fergie.dnet.ge.com (Stephen M Jameson)
  3. Newsgroups: comp.lang.lisp
  4. Subject: Re: Function to print in #S format
  5. Message-ID: <SJAMESON.92Sep9170452@fergie.dnet.ge.com>
  6. Date: 9 Sep 92 21:04:51 GMT
  7. References: <SJAMESON.92Sep8161926@fergie.dnet.ge.com>
  8.     <1992Sep9.011022.14516@jpl-devvax.jpl.nasa.gov>
  9. Sender: news@puma.ATL.GE.COM (USENET News System)
  10. Reply-To: sjameson@atl.ge.com
  11. Followup-To: comp.lang.lisp
  12. Organization: General Electric Advanced Technology Labs
  13. Lines: 28
  14. In-Reply-To: charest@Aig.Jpl.Nasa.Gov's message of 9 Sep 92 01:10:22 GMT
  15.  
  16. In article <1992Sep9.011022.14516@jpl-devvax.jpl.nasa.gov> charest@Aig.Jpl.Nasa.Gov (Len Charest) writes:
  17.  
  18. >
  19. >3. (mutually exclusive) Use CLOS. Ha Ha only serious.
  20. >..................................................
  21. >                                  Len Charest, Jr.
  22. >                 JPL Artificial Intelligence Group
  23. >                          charest@aig.jpl.nasa.gov
  24.  
  25. The problem here is that the CLOS standard requires no default readable
  26. printing method, and the two implementations to which I have access (Allegro
  27. 4.1 and Genera 8.1.1) do not provide any.  In fact, I am not sure that one can
  28. portably define (without implementation conditionals) a readable print-function
  29. for a CLOS object.  If you set *print-readably* to T, then try to create CLOS
  30. objects or define classes (from the command line), you get errors.  I know
  31. there are ways to do what I am trying to do.  What I want to know is whether
  32. there are easy ways.
  33.  
  34. --
  35. Steve Jameson                           General Electric Aerospace 
  36. sjameson@atl.ge.com                     Advanced Technology Laboratories
  37.                                         Moorestown, New Jersey              
  38. ****************************************************************************
  39. **  . . . but I do not love the sword for its sharpness, nor the arrow    **
  40. **  for its swiftness, nor the warrior for his glory.  I love only that   **
  41. **  which they defend . . .                                               **
  42. **    -- Faramir, "The Two Towers"                                        **
  43. ****************************************************************************
  44.