This is an odd one, I'm sure, but here's what I'm wanting to do...
Given a (user-defined) function name, i want to get a list of the names or types of its arguments, or even just the number of arguments the function accepts. Is there a way to do this programmatically, without delving into C-based extensions?