home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / lisp / 2857 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!hela.iti.org!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!aspen.CS.Berkeley.EDU!boyland
  2. From: boyland@aspen.CS.Berkeley.EDU (John Tang Boyland)
  3. Newsgroups: comp.lang.lisp
  4. Subject: make-load-form errors
  5. Date: 12 Nov 1992 01:46:17 GMT
  6. Organization: UC Berkeley, University of California Berkeley
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <1dsd19INNdm5@agate.berkeley.edu>
  10. NNTP-Posting-Host: aspen.cs.berkeley.edu
  11. Keywords: make-load-form-saving-slots
  12.  
  13. Why does CLtL2 say that if a structure class does not have
  14. a "make-load-form" method defined for it, then files with
  15. constants of this type cannot be compiled?
  16.  
  17. What is the danger of having as default the following?
  18.  
  19. (defmethod make-load-form ((s structure-object))
  20.   (make-load-form-saving-slots s))
  21.  
  22. I.e., why did X3J13 require something like
  23.  
  24. (defmethod make-load-form ((s structure-object))
  25.   (error "no make-load-form method defined for object ~S" s))
  26.  
  27. John
  28. (boyland@cs.berkeley.edu)
  29.