On Thu, Dec 27, 2007 at 07:45:03PM +0200, Allison Randal wrote: > Patrick R. Michaud wrote: > >On Thu, Dec 27, 2007 at 07:26:30PM +0200, Allison Randal wrote: > >>Agreed. (It's worth noting that the problem existed before :invocant was > >>added.) Adding :invocant, and giving it a string parameter, means we > >>could do away with the list of types on the :multi flag (we'd still need > >>the :multi flag). > > > >*sigh*.... as briefly mentioned previously, what do we do for > >type names that aren't strings? > > Do you mean integer type IDs? Or anonymous classes that don't have > string names? Or multi-level key names?
Multi-level key names. > The third is the easiest, it's: > > .param pmc a :invocant(['Foo'; 'Bar']) Okay; it just bugs me a bit when I see "string parameter" in a description instead of "multi-level key name" because there are likely to be a lot of classes that aren't representable as simple string names. :-) > (Which works much better here than in :multi.) Absolutely. Pm