>> I'm using this interface to know where an object has been defined.
>
> What does this mean?  (Have you seen the (system xref) facility?  It
> doesn't do a good job with non-procedures, but perhaps we could change
> that.)

Thank you for the reference.  `procedure-callees' and
`procedure-callers' are very useful.

For what I mean, I want to know the source file and line where an object
has been defined.  For example:

  (object-location (module-ref (current-module) 'procedure-callees)) =>
  ((file . "/path/to/module/system/xref.scm") (line . 89))

I couldn't figure out how to achieve it with (system xref) but after
your explanation, I'm using the VMs interface, hence my previous
question.

Reply via email to