[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue: LOAD-OBJECTS (Version 1)



> Defstruct needs a :LOAD-FUNCTION (or whatever) option, and a rule for how
> you get the simple slot-recreation function. 

Rather than adding more options to DEFSTRUCT, I'm more inclined to think
that the :PRINT-FUNCTION option is obsolete now that you can do
  (DEFMETHOD PRINT-OBJECT ...)

>   I still think that it's going to
> be awkward and confusing for this to default differently from :PRINT-FUNCTION
> or :CONSTRUCTOR (both of which give you a default function if not specified),

Maybe; on the Explorer, structures are already dumpable by treating them
like arrays, and I haven't noticed any problems caused by this.