Do we already have some mechanism to get implicit/automatic documentation of function(parameter)s?
How about supporting something like this:
mixed `->(function(...:mixed), string) Then if there is a sample function:
void foo(int a, string b) { }
Then using foo->doc would return a mapping or string describing the function and/or its parameters (if known and available). Alternately, one could create a function describe(foo) that does the same.
In case of the Google API, it can immediately peruse the discovery information/documentation.
For functions that we do not have any information stored/attached, Pike could simply show the function declaration(s).