[plt-scheme] procedure instrospection

From: Jose A. Ortega Ruiz (jao at gnu.org)
Date: Fri Apr 17 16:48:48 EDT 2009


i haven't been able to find in the documentation procedures to get
information about defined procedures or macros, other than arity. i'd be
interested in getting, given a (exported) procedure/macro's name and

- argument names (as given in its definition's formals) (or,
  alternatively, the proc source code, from which i can get that).
- filename and line number of definition (some time ago i found
  something similar, but cannot anymore).
- callees and callers of the given procedure (given the former i could
  compute the later, i guess).

is there a way of getting any of the metadata above from the MzScheme

Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is NOTHING like Shakespeare. - Blair Houghton.

Posted on the users mailing list.