From: Gary Warren King

Subject: Re: Make-load-form?

Date: 2001-11-29 22:16

Hi David,

My understanding of this is far from profound, but I believe that doing
something like:

(defmethod make-load-form ((self abstract-container) &optional environment)
   (declare (ignore environment))
   (make-load-form-saving-slots self))

Is sufficient. You _can_ customize the procedure but I've never had to.

Good luck,
-- 
Gary Warren King
Senior Research Fellow
Experimental Knowledge Systems Laboratory
Department of Computer Science
Computer Science Building
Amherst, Massachusetts 01003
413.545.3616
<cs.umass.edu at gwking>



> Having read the ANSI Common lisp documentation on make-load-form, I am > still no clearer on what I have to do when I get this error: > > Error: Object cannot be written to a compiled file unless an applicable > method is defined on make-load-form. > > Has anybody seen this error, and do they have a simple work-around? Or > do I have to write some sort of serialization algorithm? > > Thanks, > David >