Tobias S. Josefowitz @ Pike developers forum wrote:
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.
I am not a fan of the suggested f->doc syntax, what would be the reason to start using -> in this entirely new way for this one thing only?
Well, not that I strongly advocate it, but it would relieve pressure from the global namespace in case you decide to create a new function call as describe() which might conflict with existing code. I just happened to notice that function-> is complete unused, as such.