[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessor names for flavor instance variables
Date: Fri, 2 Jun 89 11:24 EDT
From: barmar@Think.COM (Barry Margolin)
Date: Fri, 2 Jun 89 07:24:09 mdt
Consider the following two (trivial) flavors:
(a b c)
I would like the accessor functions for the instance
variables of g to be g-a, g-b, ... Unfortunately, it seems
that the accessor function name is based on the accessor
name of the mixin.
There doesn't seem to be a way to get what you want automatically.
Actually, there is: list the instance variables of the component flavors
in the defflavor.
(a b c d)
Now, (g-a foo) works.