[cells-devel] another redundant update

Ken Tilton kennytilton at optonline.net
Tue Apr 8 12:29:32 UTC 2008


Ken Tilton wrote:
> The tricky part is a CLOS issue: I can never remember whether to splice 
> in additional initargs before or after the ones the macro wants to 
> auto-provide. As I mentioned a while ago, auto is good but complete 
> control for the user is also good, so we want them to be able to 
> override something like :-type.
> 
> You might think a second reference overrides the first. Nope, it is 
> ignored. But I always forget between occasions when I am doing this and 
> end up doing (describe (make-instance 'xxx :aa 1 :aa 2)) after defining 
> the appropriate class to remind myself.

I just thought of a mnemonic: the initarg list is probably being treated 
as a plist, so the first of duplicates is the only one seen.

kt



More information about the cells-devel mailing list