Klaas-Jan Stol wrote:
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)
Writing a method to re
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 :