it is not uncommon to be able to ask a function (in languages of interest to parrot) to ask whether it takes a variable number of arguments, i.e. it has a slurpy parameter.
I think it'd be useful to have such a method on the sub pmc, for instance "is_vararg()". Whether it should only check for a :slurpy parameter or for :optional parameters as well I'm not sure. vararg usually means any number of args, while optional parameters means variable within certain limits. maybe it'd be useful to allow introspection for that as well? maybe a sub can be requested for i ts complete signature, which then returns a some object describing that signature. (how many params, is it a vararg function, how many optionals, etc) any thoughts? kjs