Sam Steingold <[EMAIL PROTECTED]> writes: >> You need to define a MAKE-LOAD-FORM method on your structure's class, >> to reflect the similarity relationship that you want, rather than >> assuming that MAKE-LOAD-FORM-SAVING-SLOTS does the right thing for all >> possible structure types in the entire system. > > structures are supposed to be simple enough :-)
The simplicity of the concept of a structure is irrelevant. Any object, even a standard-object, is that "simple": just a collection of references to other objects indexed by a symbol. It's not the raw contents of the object that matter to a program. It's the semantics in the current execution context. For some structures, you may store open streams to files in their slots. How is making a load form for that simple? Maybe you want to have MAKE-LOAD-FORM re-open the file with the same name when the structure is reloaded or maybe you want it to lookup the name from some configurable variable. Do you expect MAKE-LOAD-FORM-SAVING-SLOTS to figure this out by itself? -- Rahul Jain [EMAIL PROTECTED] Professional Software Developer, Amateur Quantum Mechanicist
